This is an old revision of the document!
To list hidden files, issue:
dir PATH /A:H /B
where PATH
is either specified, in which case the dir
command lists the files in that path or PATH
is omitted, in which case the files in the current directory are listed.
In order to remove a hidden file, issue:
del /A:H FILE
where FILE
is a hidden file.
To delete recursively, the /S
switch can be appended:
del PATH /A:H /S
The command:
ping -n 6 127.0.0.1 > nul && explorer C:\Windows\System32\scrnsave.scr
will blank the screen in 6
seconds.
Note that C:\Windows\System32\scrnsave.scr
must exist and must be invoked via explorer
.