batch trigger?
Just a question about batch programming. I am wondering if there is a way to trigger a batch program besides double clicking? I am talking about it activating if you open a specific folder or type a key word. Thanks for the help
Also, I think that the computers at my school are using batch to deactivate the command prompt. This is because it says "command prompt has been disabled by administrator" then below it, it says "press any key to continue" then when you hit anything, it closes. any ideas on how this works?
cmd.bat pause
If you run it, it would give the "Command Prompt Not Allowed Message" then quit. Try
cmd.bat pause echo "Gets Here" pause
The quitting is what the batch file is meant to do. Bath file's (The simple ones at least) Aren't meant to stay open. They're just meant to quickly execute a number of predefined commands, then quit.
I suggest you research batch files :)
This is my online checker, if anyone is interested:
color 0E title Reelix's Online Checker echo off cls echo Trying to ping Google… ping www.google.co.za -l 1 -t pause
Just change the co.za to your appropriate country.
Well that's fun and all, but there are simpler ways that don't require you to toil over programming manuals. Make it named Microsoft Word.bat or something like that ( a commonly used app) change the icon to look like the programs icon (I don't remember the exact way, if someone could clarify that please) make the batch file run your item and then start the app so it looks legit, it does involve them clicking on it, but it's easier to pass off.
Great items to fake My Computer IE Firefox Microsoft Word or any other office app My Documents IM clients (great on teens)
hope that helped, I forgot the exact way to replace an icon, but the .ico of the program SHOULD be in its file. Thanks to anyone who can clear that, it should work.
well, you had question about running it after opening some folder, right? Well, in folders are different kinds of hidden files, like Folder.jpg (icon of your folder can be even an image). I think in WinXP you can use even cd-like autorun.inf (just download it from some CD and update it), good luck :)