Create virtual disk hidden files under Windows 7

  

Some time ago in the sky (/article/21679.html), see "Create virtual disks with batches to effectively hide files" However, that only works on XP, like now Both vista and 7 are not acceptable. An X:\\Recycled folder will be created under the appropriate drive letter. The bird of the dish will also find this folder. Can't play the role of hidden files.

Because of windows vista and windows 7. The address of the recycle bin is no longer X:\\Recycled, but X:$RECYCLE.BIN as shown.

The other two hidden folders are the shadow reduction feature that comes with Windows. Ignore it, the special folder we want to create is placed under X:$RECYCLE.BIN. Don't put it in the "Recycle Bin" under X:$RECYCLE.BIN, or else. When you empty the recycle bin, the saved file is gone.

The code is as follows (as in the original text. Just change the address of the recycle bin)

Save as bat format. Effect diagram after running:

The effect is out.

After putting the files you need to hide, run .bat. The M drive will disappear.

For more information, please see /article/21679.html

Copyright © Windows knowledge All Rights Reserved