Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- start "" "C:\Users\%USERNAME%\Downloads\"
- title Hidden Files + Directories
- color 5F
- :start
- echo Please enter the File Name (Example: Photo.jpg)
- set /p selection=
- pause
- cls
- echo 1. Hide File
- echo 2. Unhide File
- set /p choice=
- if %choice%==1 goto hide_file
- if %choice%==2 goto unhide_file
- pause
- cls
- :hide_file
- attrib +h "C:\Users\%USERNAME%\Downloads\%selection%"
- echo Finished!
- pause
- cls
- goto start
- :unhide_file
- attrib -h "C:\Users\%USERNAME%\Downloads\%selection%"
- echo Finished!
- pause
- cls
- goto start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement