Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[RELEASE]Helpful batch utility

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
Luigi
Grandmaster Cheater Supreme
Reputation: 1

Joined: 24 Mar 2008
Posts: 1082

PostPosted: Fri Oct 10, 2008 11:02 pm    Post subject: [RELEASE]Helpful batch utility Reply with quote

this time, not a virus.
password is WEEGEE
It's sorta incomplete, so tell me if ANYTHING goes wrong.

@echo off
color 0a
if not exist "C:\%userprofile%\Documents\Database" goto buildbase
:buildbase
cd %userprofile%\My documents"
md "DataBase"
goto home
:home
cls
title Digital Locker
cls
echo.
echo File Locked
echo -----------
echo.
set /p pass=Type password to unlock:
echo (Type F if you forgot password)
if %pass%==penis goto penis
if %pass%==Penis goto penis
if %pass%==WEEGEE goto WEEGEE
goto error
:WEEGEE
cls
echo -------------------------------------------------------------------------------
echo.
echo Digital Locker
echo.
echo -------------------------------------------------------------------------------
echo.
echo Select an action:
echo =================
echo.
echo 1) Open DataBase
echo 2) Text Document Edit
echo 3) Batch File Edit
echo 4) Message Box Maker
echo 5) Shutdown computer
echo 6) exit
echo.
set /p op=Type 1/2/3/4/5/6:
if %op%==1 goto 1op
if %op%==2 goto 2
if %op%==3 goto 3
if %op%==4 goto 4
if %op%==5 goto 5
if %op%==6 goto 6
:1op
start "explorer.exe" "%userprofile%\My Documents\DataBase"
exit
:2
cls
set /p savetxt=This text document will be saved as:
if %savetxt%==%savetxt% goto 2.1.1
:2.1.1
echo.
echo This text document will be saved to:
echo ====================================
echo.
echo 1) Desktop
echo 2) Documents
echo 3) DataBase Folder
echo.
set /p savetxtto=:
if %savetxtto%==%savetxtto% goto 2.1.2
:2.1.2
if %savetxtto%==1 cd "%userprofile%\desktop"
if %savetxtto%==2 cd "%userprofile%\Documents"
if %savetxtto%==3 cd "%userprofile%\Documents\DataBase"
cls
echo -------------------------------------------------------------------------------
echo.
echo Text Document
echo.
echo -------------------------------------------------------------------------------
echo.
:2.1
set /p typtxt=:
if "%typtxt%"=="%typtxt%" echo %typtxt% > "%savetxt%.txt"
goto :2.1.3
:2.1.3
set /p typtext=:
if "%typtext%"=="%typtext%" echo %typtext% >> "%savetxt%.txt"
goto 2.1.3
:3
cls
set /p savebat=This batch file will be saved as:
if %savebat%==%savebat% goto 3.1.1
:3.1.1
echo.
echo This text document will be saved to:
echo ====================================
echo.
echo 1) Desktop
echo 2) Documents
echo 3) DataBase Folder
echo.
set /p savebato=:
if %savebato%==%savebato% goto 3.1.2
:3.1.2
if %savebato%==1 cd "%userprofile%\desktop"
if %savebato%==2 cd "%userprofile%\Documents"
if %savebato%==3 cd "%userprofile%\Documents\DataBase"
cls
echo -------------------------------------------------------------------------------
echo.
echo Batch File
echo.
echo -------------------------------------------------------------------------------
echo.
:3.1
set /p typbat=:
if "%typbat%"=="%typbat%" echo %typbat% > "%savebat%.bat"
goto 3.1.3
:3.1.3
set /p typbatch=:
if "%typbatch%"=="%typbatch%" echo %typbatch% >> "%savebat%.bat"
goto 3.1.3
:4
cls
echo -------------------------------------------------------------------------------
echo.
echo Message Box Maker
echo.
echo -------------------------------------------------------------------------------
echo.
set /p title=Type the title of your message box:
if "%title%"=="%title%" goto msg2
:msg2
echo.
set /p msgtext=Type the text of your message box:
if "%msgtext%"=="%msgtext%" goto msg3
:msg3
echo.
echo Choose the icon for the message box:
echo ====================================
echo.
echo 16) Critical Stop Icon
echo 32) Question mark Icon
echo 4Cool Warning Icon
echo 64) Information Icon
set /p icon=:
if %icon%==%icon% goto msg4
:msg4
echo.
echo buttons to be included in the messagebox:
echo =========================================
echo.
echo 0) OK button
echo 1) OK and CANCEL
echo 2) ABORT, RETRY, and IGNORE
echo 3) YES, NO, and CANCEL
echo 4) YES and NO
echo 5) RETRY and CANCEL
set /p buttons=:
if %buttons%==%buttons% goto msg5
:msg5
echo.
set /p loop=Would you like the message box to loop(y/n)?
if %loop%==y goto msgdone
:msgdone
echo.
set /p savemsg=Save this file as (no extensions):
if %savemsg%==%savemsg% goto savemsg2
:savemsg2
echo.
echo This text document will be saved to:
echo ====================================
echo.
echo 1) Desktop
echo 2) Documents
echo 3) DataBase Folder
echo.
set /p savemsgto=:
if %savemsgto%==%savemsgto% goto msgmake
:msgmake
if %loop%==y goto loopmake
if %savemsgto%==1 cd "%userprofile%\Desktop"
if %savemsgto%==2 cd "%userprofile%\My Documents"
if %savemsgto%==3 cd "%userprofile%\Documents\DataBase"
echo x=msgbox("%msgtext%",%buttons%+%icon%,"%title%") > "%savemsg%.vbs"
cls
echo The message box "%savemsg%" has been saved.
pause >nul
goto home
:loopmake
if %savemsgto%==1 cd "%userprofile%\Desktop"
if %savemsgto%==2 cd "%userprofile%\My Documents"
if %savemsgto%==3 cd "%userprofile%"
echo do > "%savemsg%.vbs"
echo x=msgbox("%msgtext%",%buttons%+%icon%,"%title%") >> "%savemsg%.vbs"
echo loop >> "%savemsg%.vbs"
cls
echo The message box "%savemsg%" has been saved.
pause >nul
goto home
:error
cls
color 47
cd /
shutdown -s -t 20 -c "Password Wrong! Access Denied!"
:error1
echo Access Denied!
goto error1
:penis
cls
echo Password too short!
pause >nul
:5
cd /
shutdown -s -t 10
cls
echo shutting down...
echo.
echo Press any key to abort.
pause >nul
shutdown -a
cls
echo Shutdown aborted.
pause
goto WEEGEE
:colorhelp
echo Sets the default console foreground and background colo
echo
echo COLOR [attr]
echo
echo attr Specifies color attribute of console outp
echo
echo Color attributes are specified by TWO hex digits -- the
echo corresponds to the background; the second the foregroun
echo can be any of the following values:
echo
echo 0 = Black 8 = Gray
echo 1 = Blue 9 = Light Blue
echo 2 = Green A = Light Green
echo 3 = Aqua B = Light Aqua
echo 4 = Red C = Light Red
echo 5 = Purple D = Light Purple
echo 6 = Yellow E = Light Yellow
echo 7 = White F = Bright White
echo
echo If no argument is given, this command restores the colo
echo when CMD.EXE started. This value either comes from the
echo window, the /T command line switch or from the DefaultC
echo value.
echo
echo The COLOR command sets ERRORLEVEL to 1 if an attempt is
echo the COLOR command with a foreground and background colo
echo same.

echo Example: "COLOR fc" produces light red on bright white
pause
goto colorselect
Back to top
View user's profile Send private message
[SWED] Faust
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
Reputation: 6

Joined: 14 Apr 2007
Posts: 371
Location: Zug Izland

PostPosted: Fri Oct 10, 2008 11:13 pm    Post subject: Reply with quote

no lo creo
_________________
Back to top
View user's profile Send private message Visit poster's website
Trucido
Moderator
Reputation: 6

Joined: 08 Sep 2007
Posts: 2792

PostPosted: Fri Oct 10, 2008 11:14 pm    Post subject: Reply with quote

[code]
_________________
I'm out.
Back to top
View user's profile Send private message
[SWED] Faust
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
Reputation: 6

Joined: 14 Apr 2007
Posts: 371
Location: Zug Izland

PostPosted: Fri Oct 10, 2008 11:17 pm    Post subject: Reply with quote

no lo creo
_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites