making a batch file to run the command prompt
our school has the run program disabled so how can i make a simple batch file to open up cmd? YES i did use google but it didnt help much first i tried this
exec cmd pause
in every possible combination, but THEN i tried
start cmd
which opened up cmd about a thousand times… i have tried a lot of stuff and i cant get it to work can someone who knows how to do this please help me?
ok ya that works, but my school has the cmd disabled… let's say (hypothetically, of course) that i want to gain admin access. i read an article on this site that there are remote administration tools (rat) files that i could copy unto a floppy to gain admin rights. the only problem is that i have the run command, the command prompt, and a bunch of other stuff disabled… is there anyway i could make a batch file to find and copy it unto the floppy for me?
Erm the looped thing is something i sometime shave a problem with, it's to do with where it is run somehting like that :S cant quite remmeber, all you need to do if put your commands in the .bat file, example: net user usernamehere passwordhere /add this should add a high privilage user… login and edit the registry to make it less detectible google for the exact possition and stuff meh.
nicely put Mr_Cheese ;)
mrwigg1es: like Mr_Cheese said, use command.com instead of cmd.exe. not only will command.com work for Windows 9x, many admins also forget to restrict it.
if you're really stuck, put command.com on a floppy disk, and bring it to school. insert the disk and get instant access ;)