Introduction: FFHide Batch Program

Hello,
Here we have created one another batch file which can hide/unhide your file/folder.
you can easily modify it as per your need if you know batch file programming.
you can create it as per the following steps or you can directly download it from here. (Download FFHide)
Source : http://errorcode401.blogspot.in/2015/01/hide-your-filefolder-using-batch.html

Let's Start...!!!

Step 1: Create Batch Program

Copy the following code in notepad and save it as FFHide.bat

 REM Code started from here
@echo off call :setWindowProperty call :creteFolder goto :main :setWindowProperty title File/Folder Hide-Unhide App mode con: cols=65 lines=22 color 2f goto :eof :creteFolder set messageCode=welcome set feedbackURL="http://goo.gl/forms/amy2smBcQY" set setupPath="C:\Users\%username%\Desktop\FFHide" IF NOT EXIST %setupPath% ( cd "C:\Users\%username%\Desktop" mkdir FFHide attrib +S +H %setupPath% cd %setupPath% echo. >> log.txt ) goto :eof :main cls if "%messageCode%"=="welcome" ( call :welcomeMesssage ) else if "%messageCode%"=="pathnotfounderror" ( call :pathnotfounderror ) else if "%messageCode%"=="success" ( call :success ) else if "%messageCode%"=="error" ( call :error ) else if "%messageCode%"=="contact" ( call :contact ) else ( call :error ) echo [1] Hide echo [2] Unhide echo [3] Log History echo [4] Contact Us echo [5] Give Feedback echo [6] Exit echo ***************************************************************** set /p option="Enter your Choice: " call :operation %option% goto :main :welcomeMesssage cls echo ***************************************************************** echo * Welcome...!! * echo * Here You can Hide/Unhide your File/Folder..!! * echo * Choose option below * echo ***************************************************************** goto :eof :error cls echo ***************************************************************** echo * Sorry...!! * echo * Choice is Incorrect..!! * echo * Please Choose option below * echo ***************************************************************** goto :eof :success cls echo ***************************************************************** echo * Congratulations...!! * echo * Operation Done Successfully..!! * echo * Please Choose option below * echo ***************************************************************** goto :eof :pathnotfounderror cls echo ***************************************************************** echo * Sorry...!! * echo * File/Folder Does not Exists..!! * echo * Please Choose option below * echo ***************************************************************** goto :eof :feedback if exist "C:\Program Files\Mozilla Firefox\firefox.exe" ( start firefox.exe "%feedbackURL%" ) else ( start iexplore "%feedbackURL%" ) set messageCode=welcome goto :eof :exit exit :: errorcode401.blogspot.in :operation if %~1==1 ( call :hide ) else if %~1==2 ( call :unhide ) else if %~1==3 ( call :log ) else if %~1==4 ( set messageCode=contact ) else if %~1==5 ( call :feedback ) else if %~1==6 ( call :exit )else ( set messageCode=error ) goto :eof :hide cls set /p folderpath="Enter path of File/Folder to Hide : " if exist "%folderpath%" ( attrib +h +s "%folderpath%" cd %setupPath% echo Operation: Hide ^Date^&Time : %date% %time% FolderPath: "%folderpath%">> log.txt set messageCode=success ) else ( set messageCode=pathnotfounderror ) goto :eof :unhide cls set /p folderpath="Enter path of File/Folder to Unhide : " if exist "%folderpath%" ( attrib -h -s "%folderpath%" cd %setupPath% echo Operation: Unhide ^Date^&Time : %date% %time% FolderPath: "%folderpath%">> log.txt set messageCode=success ) else ( set messageCode=pathnotfounderror ) goto :eof :log cd %setupPath% start log.txt goto :eof :contact cls echo ***************************************************************** echo * If you have any problem or you need any help * echo * You can Contact Us by bolow EmailID * echo * Errorcode401 : ErrorMakeMeSmart@gmail.com * echo * Facebook : facebook.com/ErrorCode401 * echo ***************************************************************** goto :eof :error cls echo ***************************************************************** echo * Sorry...!! * echo * Choice is Incorrect..!! * echo * Please Choose option below * echo ***************************************************************** goto :eof REM Code ended from here

Step 2: Run It

Now just double click on that file to run it.
you will see the window as given in image.
Just choose 1 option to hide your File/Folder and press Enter.

Step 3: Provide File/Folder Path

Just type the full path of your File/Folder and press enter to Hide it. [if you are providing file path then you should also add file extension]

Step 4: Hide Successfully

Thats it...!! you have Done...!!!
your file/folder has been hide

Step 5: Log History

you can also see the log history by choosing 3rd option.
you will see the log history along with date-time and file/folder detail.

Thanks :)

We need your feedback >> Feedback for FFHide

Source : http://errorcode401.blogspot.in/2015/01/hide-your-filefolder-using-batch.html

Comments

author
Chad Baxter (author)2015-02-01

why not upgrade this to PowerShell...*breaths deeply* all the .net 4.0 hooks you could desire!

author
RedFishRyan (author)2015-01-31

That's cool! I can't wait to make my brothers most used folder disappear!

About This Instructable

1,284views

11favorites

License:

Bio: Hello guys, Here we are for sharing our knowledge. We are trying to share it to every person. Errorcode401 is Blog Which is Created to ... More »
More by errorcode401:FFHide Batch programCreate your own run command by easy stepHide your message inside the Image
Add instructable to: