Saturday, November 14, 2015

Windows cmd commands

  1. Remove folder with all content :
    rd /s /q       - faster and better then explorer for erasing large amount of files
  2. Change file/folder attributes
    attrib +shr -shr filename/folders - system file
    h - hidden file
    r - read only file
  3. View all files/folders including hidden/system etc
    dir /a
    dir /a:h   -
    display only hidden files
  4. View windows install date :
    systeminfo | find "Install Date"
  5. Force date and time sync
    net start w32time
    w32tm /resync /force
  6. Set date or time :
    date 04-15-2015


No comments:

Post a Comment