Batch codes for beginners
example:
Loop ( repeat )
Note: you can replace x with anything you want.
example:
Copy a file
Note: you can replace 1.bmp with anything you like! just remember, after 1.bmp add a space and add the desired name for the copied file and its extension. as for cd you can like use C:\ or D:\ or E:\New Folder\file.txt
example:
Kill a process
example:
Delete a file
Note: you can replace 2.txt with anything you like.
example:
Add to registry
example:
Note: REG_DWORD is a registry type so don't change that!
btw i could post alot more but they were kinda dangerous
( of those bb pc types
)
( this was not leeched or copied elsewhere :wink: )
btw edit and added process kill for prophet =]
hope you liked it
Open a program or website
Code:
startexample:
Code:
start notepadCode:
start www.hackcommunity.comLoop ( repeat )
Code:
x:
goto xNote: you can replace x with anything you want.
example:
Code:
@echo off
:loop
start notepad
goto loopCopy a file
Code:
cd ( path location)
copy 1.bmp copied.bmpexample:
Code:
@echo off
cd C:\
copy myfpicture.jpg copied.jpgKill a process
Code:
taskkill ( process name)
tskill ( process name )example:
Code:
@echo off
taskkill explorer.exeCode:
@echo off
tskkill explorer.exeDelete a file
Code:
cd ( path location)
del 6.txtexample:
Code:
@echo off
cd C:\
del mypicture.jpgAdd to registry
Code:
reg add ( your registry path and value setting )example:
Code:
REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAutoRun /t REG_DWORD /d 1Note: REG_DWORD is a registry type so don't change that!

btw i could post alot more but they were kinda dangerous

( of those bb pc types
)( this was not leeched or copied elsewhere :wink: )
btw edit and added process kill for prophet =]
hope you liked it










0 comments:
Post a Comment