Documente Academic
Documente Profesional
Documente Cultură
:home
title Cmd Accounts Beta
color 07
cls
echo.
echo Cmd Accounts
echo =============
echo.
echo 1) Log In
echo 2) Sign Up
echo 3) Exit
echo.
set /p op=
if %op%==1 goto 1
if %op%==2 goto 2
if %op%==3 goto 3
goto error
:2
cls
echo Sign Up
echo ======================================
echo.
set /p newname="Enter new username:"
if "%newname%"=="%newname%" goto inputname
:inputname
cd "%userprofile%\documents"
if exist "cmdacoBin" goto skip
if not exist "cmdacoBin" goto noskip
:noskip
md "cmdacoBin"
goto skip
:skip
cd "%userprofile%\documents\cmdacoBin"
if exist "%newname%.bat" goto namexist
if not exist "%newname%.bat" goto skip2
:skip2
echo set realusername=%newname%> "%newname%.bat"
goto next
:next
echo.
set /p pswd=Enter new Password:
if "%pswd%"=="%pswd%" goto inputpass
:inputpass
cd "%userprofile%\documents\cmdacoBin"
echo set password=%pswd%>> "%newname%.bat"
goto next1
:namexist
echo.
echo The entered username already exists.
echo Press any key to return. . .
pause >nul
goto 2
:next1
cls
echo Cmd Accounts
echo ============
echo.
echo Your account has been successfully created!
echo.
pause
goto home
:1
color 07
cls
echo Cmd Accounts Log In
echo ================================
echo.
Set /p logname=Username:
if "%logname%"=="%logname%" goto 2.1
:2.1
echo.
set /p logpass="Password:"
if "%logpass%"=="%logpass%" goto login
:login
cd "%userprofile%\documents\cmdacoBin"
if exist "%logname%.bat" goto call
if not exist "%logname%.bat" goto errorlog
:call
call "%logname%.bat"
if "%password%"=="%logpass%" goto logdone
goto errorlog
:errorlog
color 0c
echo.
echo Username or Password incorrect.
echo Access denied.
pause >nul
goto home
:logdone
cls
echo Cmd Accounts
echo ============
echo.
echo Successfully logged in!
echo.
pause
goto account
:account
cls
cd "%userprofile%\documents\cmdacoBin"
call "%realusername%color.bat"
call "%realusername%.bat"
color %colorcode%
cls
echo.
echo -----------------------------------------------------------------------------echo %realusername%
echo -----------------------------------------------------------------------------echo.
echo 0) Credits
echo 1) User Control Panel
echo 2) Net Send Messenger
echo 3) Program Launcher
echo 4) Notepad
echo 5) Pop-up Maker
echo 6) Folder Factory
echo 7) Remote Shutdown (For computer networks)
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 = Brite White
echo ----------------------------------------------------echo Example: "02" produces Green Text on Black Background
set /p coloraco=Enter Color Code:
if %coloraco%==%coloraco% goto applycolor
:applycolor
color %coloraco%
cd "%userprofile%\documents\cmdacoBin"
echo set colorcode=%coloraco% > "%realusername%color.bat"
echo.
echo Color Applied.
pause
goto account
:3
exit
:ucp2
cls
echo.
echo -----------------------------------------------------------------------------echo %realusername% Control Panel: Change Passwords
echo -----------------------------------------------------------------------------echo.
echo Enter Credidentials
echo ------------------echo.
set /p cpu=Enter Username:
if "%cpu%"=="%cpu%" goto chgpassnext
:chgpassnext
cd "%userprofile%\documents\cmdacoBin"
if not exist "%cpu%".bat (
echo.
color 0C
echo Username not found!
echo.
echo Access denied!
echo.
pause
if defined colorcode color %colorcode%
if not defined colorcode color 07
goto ucp2
)
echo.
set /p chgpscon=Enter current password for this account:
if "%chgpscon%"=="%chgpscon%" goto ucp2.1
:ucp2.1
cd "%userprofile%\documents\cmdacoBin"
call "%cpu%".bat
if "%chgpscon%"=="%password%" goto conpassdone
if not "%chgpscon%"=="%password%" (
color 0C
echo.
cls
echo.
echo -----------------------------------------------------------------------------echo %realusername% Control Panel
echo -----------------------------------------------------------------------------echo.
echo Your previous username: %oldusername%
echo has been changed to: %chgname%
echo.
echo Press any key to return to your account. . .
pause >nul
goto account
:ucp4
cls
echo.
echo -----------------------------------------------------------------------------echo %realusername% Control Panel: Start/Stop Messenger
echo -----------------------------------------------------------------------------echo.
echo String Values Payload
echo ============= ========================
echo.
echo Start
Starts Messenger Service
echo Stop
Stops Messenger Service
echo Continue
Continues/Resumes Messenger
echo Pause
Pauses Messenger Service
echo Back
Back to previous page
echo ========================================
echo.
set /p mval=Enter String Value:
if "%mval%"=="start" goto stm
if "%mval%"=="stop" goto spm
if "%mval%"=="continue" goto ctm
if "%mval%"=="pause" goto pm
if "%mval%"=="back" goto aco1
goto ucp4error
:stm
echo.
Net Start "Messenger"
pause
goto account
:spm
echo.
Net Stop "Messenger"
pause
goto account
:ctm
net continue "Messenger"
pause
goto account
:pm
net pause "Messenger"
pause
goto account
:ucp4error
echo.
:runcustom
cls
echo.
echo -----------------------------------------------------------------------------echo Program Launcher
echo -----------------------------------------------------------------------------echo.
set /p runfile=Run //
if "%runfile%"=="%runfile%" start %runfile%
goto account
:aco3.2
cd "%userprofile%\documents\cmdacoBin"
cls
call "myprograms%logname%.bat"
if errorlevel 1 goto mypronotexist
goto acoooonext
:mypronotexist
cls
echo You currently do not have any programs in this list.
echo To add programs select 'Add new program to my applications'
echo from the Program Launcher Menu.
echo.
pause
goto programs
:acoooonext
echo.
echo ===========================================================================
====
set /p clpl=Type filename option:
if "%clpl%"=="%clpl%" start %clpl%
goto account
:aco3.3
if exist "%userprofile%\documents\cmdacoBin\myprograms%logname%" goto skip111
if not exist "%userprofile%\documents\cmdacoBin\myprograms%logname%" goto noskip
111
:noskip111
cd "%userprofile%\documents\cmdacoBin"
echo @echo off > "myprograms%logname%.bat"
echo echo Filename options
File Nicknames >> "myprograms%lo
gname%.bat"
echo echo ==================================================== >> "myprograms%lo
gname%.bat"
echo echo. >> "myprograms%logname%.bat"
:skip111
cls
echo.
echo -----------------------------------------------------------------------------echo Program Launcher
echo -----------------------------------------------------------------------------echo.
echo Follow instructions to add custom launch file:
echo ---------------------------------------------echo.
set /p cfne=Enter filename of custom file:
if "%cfne%"=="%cfne%" goto aco3.3next
:aco3.3next
echo.
set /p cnfcf=Enter custom string nickname for file:
if "%cnfcf%"=="%cnfcf%" goto aco3.3next1
:aco3.3next1
goto addfiletolist
:addfiletolist
echo echo %cfne%
%cnfcf% >> "%userprofile%\docume
nts\cmdacoBin\myprograms%logname%.bat"
echo.
set /p addfprompt=Would you like to add another filep(Y/N)?
if %addfprompt%==y goto skip111
if %addfprompt%==n goto account
:aco4
cls
echo.
echo -----------------------------------------------------------------------------echo %logname% Notepad
echo -----------------------------------------------------------------------------echo.
set /p notesave=Save text document as (no extensions):
if "%notesave%"=="%notesave%" goto aco4next
:aco4next
echo.
echo %notesave% will be saved to:
echo --------------------------echo.
echo 1) Desktop
echo 2) Documents
echo 3) Custom Location
echo.
set /p noteloc=
if %noteloc%==1 goto makenote
if %noteloc%==2 goto makenote
if %noteloc%==3 goto clnote
:clnote
echo.
set /p variable=Enter custom location filepath:
if "%variable%"=="%variable%" goto makenote
:makenote
cls
echo.
echo -----------------------------------------------------------------------------echo %logname% Notepad
echo -----------------------------------------------------------------------------echo.
echo Begin typing. Press enter after each line to be saved to %notesave%
echo Exit when you are done
echo ------------------------------------------------------------------echo.
set /p notetxt=
if %noteloc%==1 cd "%userprofile%\desktop"
if %noteloc%==2 cd "%userprofile%\documents"
if %noteloc%==3 cd "%variable%"
if "%notetxt%"=="%notetxt%" echo %notetxt% > "%notesave%.txt"
goto noteloop
:noteloop
set /p notetxt2=
if "%notetxt2%"=="%notetxt2%" echo %notetxt2% >> "%notesave%.txt"
goto noteloop
:aco5
cls
echo.
echo -----------------------------------------------------------------------------echo %logname% Pop-up Maker
echo -----------------------------------------------------------------------------echo.
set /p popupfil=Enter filename for Pop-up(no extensions):
if "%popupfil%"=="%popupfil%" goto aco5next
:aco5next
echo.
set /p poptitle=Enter titlebar name for your pop-up:
if "%poptitle%"=="%poptitle%" goto aco5next1
:aco5next1
echo.
set /p poptext=Enter Text for your pop-up:
if "%poptext%"=="%poptext%" goto aco5next2
:aco5next2
echo.
echo Select Buttons
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 butpop=Type 1/2/3/4:
if %butpop%==%butpop% goto aco5next3
:aco5next3
echo.
echo Select Icon
echo ===========
echo.
echo 16) Critical Message Icon
echo 48) Warning Message Icon
echo 32) Question Mark Icon
echo 64) Information Icon
echo.
set /p popicon=Type 16/48/32/64:
if %popicon%==%popicon% goto aco5next4
:aco5next4
echo.
echo Your Pop-up is being created on your desktop...
ping localhost -n 3 >nul
cd "%userprofile%\desktop"
echo x=msgbox("%poptext%",%butpop%+%popicon%,"%poptitle%") > "%popupfil%.vbs"
cls
echo.
echo -----------------------------------------------------------------------------echo %logname% Pop-up Maker
echo ------------------------------------------------------------------------------
echo.
echo Your Pop-up was successfully created on your desktop.
echo.
pause
goto account
:aco0
cls
echo ___________________________________________________________________________
____
echo.
echo Created by Jakash3 and Branflakes91093 @ http://www.youtube.com
echo ___________________________________________________________________________
____
echo.
echo A Batch Windows Production
echo -------------------------echo This batch file may be edited and freely distributed.
echo If this batch file is freely distributed publically then
echo This unedited credits screen must be included in the file.
echo Questions Comments? Contact me @ http://www.youtube.com/user/jakash3
echo.
echo Special thanks to branflakes91093 @ http://www.youtube.com/user/branflakes9
1093
echo for fixing the major bug that prevented users from using spaces in their
echo username and passwords when logging in and/or signing up.
echo.
echo Please report any other bugs you notice in this program.
pause >nul
goto account
:aco6
cls
echo.
echo -----------------------------------------------------------------------------echo %logname% Folder Factory
echo -----------------------------------------------------------------------------echo.
echo Folder Factory
echo ==============
echo.
echo 1) Create a new folder
echo 2) Go back because you were just wondering what 'Folder Factory' was.
echo.
set /p ffconfirm=
if %ffconfirm%==1 goto aco6.1
if %ffconfirm%==2 goto account
:aco6.1
cls
echo.
echo -----------------------------------------------------------------------------echo %logname% Folder Factory
echo -----------------------------------------------------------------------------echo.
set /p newfold=Type name for new folder:
if "%newfold%"=="%newfold%" goto aco6.1next
:aco6.1next
echo.