You are viewing our Forum Archives. To view or take place in current topics click here.
closed .........................
Posted:

closed .........................Posted:

TTG_BossCrafting
  • Challenger
Status: Offline
Joined: Aug 13, 201211Year Member
Posts: 146
Reputation Power: 11
Status: Offline
Joined: Aug 13, 201211Year Member
Posts: 146
Reputation Power: 11
ok im writing a .bat file and when i go to the instructions part (you will know what i mean when you see it) it gives "The syntax of the command is incorrect."
any help pleas ill +REP 1

my bat code
color b5
cls
@ECHO OFF
title Folder LOCKER
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto MENU
if NOT EXIST LOCKER goto MDLOCKER
:MENU
cls
echo.
echo.
echo. By TTG Member tylermasterson1996
echo ====================================
echo type your selection then press ENTER
echo ====================================
echo.
echo LF - to lock your folder
echo UL - to unlock folder
echo V - to view about the author
echo I - to view instructions
set/p "cho=>"
if %cho%==LF goto LOCK
if %cho%==lf goto LOCK
if %cho%==UL goto UNLOCK
if %cho%==ul goto UNLOCK
if %cho%==V goto AUTHOR
if %cho%==v goto AUTHOR
if %cho%==I goto INSTRUCTIONS
if %cho%==i goto INSTRUCTIONS
:LOCK
cls
ren LOCKER "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo YOUR FOLDER IS NOW SAFE AND SECURE
echo.
echo TYPE AND ENTER "M" TO GO BACK TO THE MENU
echo TYPE AND ENTER "C" TO CLOSE LOCKER
set/p "cho=>"
if %cho%==M goto MENU
if %cho%==m goto MENU
if %cho%==C goto END
if %cho%==c goto END
:UNLOCK
cls
echo Enter your set password to unlock LOCKER
set/p "pass=>"
if NOT %pass%==password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" LOCKER
echo Folder YOU HAVE UNLOCKED YOUR FILE
echo.
echo TYPE AND ENTER "M" TO GO BACK TO THE MENU
echo TYPE AND ENTER "C" TO CLOSE LOCKER
set/p "cho=>"
if %cho%==M goto MENU
if %cho%==m goto MENU
if %cho%==C goto END
if %cho%==c goto END
:FAIL
cls
echo.
echo LOL GOOD TRY.
echo.
echo.
echo Type and enter R to restart
set/p "cho=>"
if %cho%==R goto MENU
if %cho%==r goto MENU
:MDLOCKER
cls
md LOCKER
echo Locker has been made
echo.
echo.
echo.
echo. Type M to go back to the MENU
set/p "cho=>"
if %cho%==M goto MENU
if %cho%==m goto MENU
:AUTHOR
cls
echo.
echo I am TTG Member tylermasterson1996 + REP if you like this
echo.
echo.
echo == RRRR EEEEEEE PPPP
echo == R R E P P
echo == R R E P P
echo ========== R R E P P
echo ========== R R EEEEE P P
echo == R R E PP
echo == RR E P
echo == R R E P
echo R R EEEEEEE P
echo.
echo.
echo TYPE "M" TO GO BACK TO THE MENU
echo.
set/p "cho=>"
if %cho%==M goto MENU
if %cho%==m goto MENU
:INSTRUCTIONS
cls
echo.
echo.
echo *******************
echo *INSTRUCTIONS*
echo *******************
echo.
echo.
echo The default password is "password".
echo To change the password right click the batch file and click edit.
echo Now go to line 44 and you will see the word "password".
echo All you have to do is change "password" to your password.
echo And now the password is what you set it as.
echo.
echo NOTE you do not type the "" if the letter is inside of them
echo.
echo.
echo Type "M" to go back to the menu.
set/p "cho==>"
if %cho%==M goto MENU
if %cho%==m goto MENU
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.