Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::----------------------------------::
- :: File name: BatchInfo v1.2 ::
- :: Coded By: EncephaloN ::
- :: E-Mail: Fredde_proffs@hotmail.com::
- ::----------------------------------::
- @echo off
- color 0a
- title BatchInfo v1.0 By:Fredrik "EncephaloN" Dahl
- ::----------------------------------Startpage----------------------------------::
- :Menu
- cls
- echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- echo @ @
- echo @ Welcome to BatchInfo v1.2 made by EncephaloN @
- echo @ @
- echo @ This program is here to guide you through the commandprompt @
- echo @ @
- echo @ Please report bugs n feedback to fredde_proffs@hotmail.com @
- echo @ @
- echo @ Copyright © 2011 Fredrik "EncephaloN" Dahl @
- echo @ @
- echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- echo.
- echo.
- pause
- ::----------------------------------Startpage----------------------------------::
- cls
- echo To get a list of commands press [c]
- echo To learn some history of batch press [h]
- echo To learn what a batch is press [w]
- echo To get to menu press [Menu]
- echo For settings type [Settings]
- echo Write [exit] to exit.
- set /p option=
- if %option% == c goto :Commands
- if %option% == h goto :History
- if %option% == w goto :WiB
- if %option% == back goto :choose
- if %option% == Menu goto :Menu
- if %option% == menu goto :Menu
- if %option% == exit goto :exit
- if %option% == settings goto :settings
- ::----------------------------------Commands----------------------------------::
- :Commands
- cls
- echo net user "account" /add // Adds a new account. Write without the "
- echo ----------------------------------------------------------------------
- echo net localgroup administrators "account" /add // Make account admin.
- echo ----------------------------------------------------------------------
- echo net user "account" * // Set a new password.
- echo ----------------------------------------------------------------------
- echo net user "account" /del // deletes the choosen account.
- echo ----------------------------------------------------------------------
- echo tracert // Trace the ip adress through packets.
- echo ----------------------------------------------------------------------
- echo ping "ipadress" //Pings the ip written.
- echo ----------------------------------------------------------------------
- echo nbtstat -a //show open remote ports.
- echo ----------------------------------------------------------------------
- echo netstat -ano //show which ports you are connected to.
- echo ----------------------------------------------------------------------
- echo ipconfig //shows your ipadress, dns servers, gateway masks and mre.
- echo ----------------------------------------------------------------------
- echo echo // outputs a message to the screen.
- echo ----------------------------------------------------------------------
- echo cls // clears the screen of any text.
- echo ----------------------------------------------------------------------
- echo pause // doesnt what it says it does, pauses the program.
- echo ----------------------------------------------------------------------
- echo.
- echo.
- echo Go to the menu to exit.
- pause>nul
- ::----------------------------------Commands----------------------------------::
- goto :choose
- ::----------------------------------History----------------------------------::
- :History
- cls
- echo As the Windows OS evolved, so did the use of batch files.
- echo Long ago, in the early OS versions, batch files were extremely crucial.
- echo Early versions of Windows had batch files,
- echo that actually made the OS start up properly.
- echo Over time, batch files became less useful.
- echo Windows could sustain most of its frame without the help of batch files.
- echo But in a couple of years, batch files became a source of entertainment. How?
- echo Well, some people saw the advantages to batch and it´s endless possibilities.
- echo Soon after that a new era was born.
- echo People start to make their own batch games, applications, and even simple AVs.
- echo The end of the history lesson :D
- echo.
- echo.
- echo Go to the menu to exit.
- pause>nul
- ::----------------------------------History----------------------------------::
- goto :choose
- ::----------------------------------Settings----------------------------------::
- :settings
- cls
- echo Select the letter or number corresponding to the background color of choice:
- Set /p background=
- echo Select the letter or number corresponding to the text color of choice:
- Set /p font=
- Color %background%%font%
- pause<nul
- ::----------------------------------Settings----------------------------------::
- goto :choose
- ::----------------------------------What is batch?----------------------------------::
- :WiB
- cls
- echo Batch is a scripting language. You write a batch file,
- echo a compiled text file containing commands that will run in order.
- echo The name "Batch" was given to this language,
- echo because a batch file contains a bundle or batch of commands.
- echo Batch files were made to finish tasks in a short period of time.
- echo Batch files also keep your OS working.
- echo In every windows OS,
- echo there is atleast one batch file that is crucial to your Windows system.
- echo.
- echo.
- echo Go to the menu to exit.
- pause>nul
- ::----------------------------------What is batch?----------------------------------::
- goto :choose
- ::----------------------------------Choose-page----------------------------------::
- :choose
- cls
- echo To get a list of commands press [c]
- echo To learn some history of batch press [h]
- echo To learn what a batch is press [w]
- echo To get back to menu write [Menu]
- echo For settings type [Settings]
- echo Write [exit] to exit.
- set /p option=
- if %option% == c goto :Commands
- if %option% == h goto :History
- if %option% == w goto :WiB
- if %option% == menu goto :Menu
- if %option% == exit goto :exit
- if %option% == settings goto :settings
- ::----------------------------------Choose-page----------------------------------::
- ::----------------------------------Exit-screen----------------------------------::
- :exit
- cls
- echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- echo @ @
- echo @ You are now leaving @
- echo @ @
- echo @ BatchInfo v1.2 made by EncephaloN @
- echo @ @
- echo @ @
- echo @ Please report any bugs or give feedback to daxuo@live.com @
- echo @ @
- echo @ Copyright © 2011 Fredrik "EncephaloN" Dahl @
- echo @ @
- echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- echo.
- echo.
- echo.
- echo Hope you enjoyed the guide.
- echo Thanks to GL1TCH3D for helping me with the settings code.
- echo.
- echo Please hit enter to exit the program.
- pause>nul
- exit
- ::----------------------------------Exit-screen----------------------------------::
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement