Place a shortcut to the batch file in the Start-up folder in the start menu. Note that each user has their own Start-up folder but there's also an all-users start-up folder (the Start-up folder in the start menu is a virtual folder showing the aggregate of both folders). Right-clicking the Start-up folder in the start menu will allow you to "Open" or "Open All Users", where the former applies only to the current user.
The user's startup folder can be found in:
"c:\users\<username>\appdata\roaming\microsoft\windows\start menu\programs\start-up"
Any shortcut placed in this folder will be executed each time you log on, but not for anyone else.
The all-users folder is:
"c:\programdata\microsoft\windows\start menu\programs\start-up"
Any shortcut placed in this folder will be executed regardless of which user logs on.
Note that although you can place binary executables, scripts or batch files in the start menu, it's best to use shortcuts and place the executable itself in an appropriate folder of the program files folder.
Probably trying to make a virus. It's simple: Drag the batch file you want to start on startup into the startup folder in All Programs.
Make a batch file. Open up notepad, type in the commands just like you would if you had a C:\prompt and choose "save as." When you save it, remove the .txt extension & use .bat instead. Batch files can be executed just like an .exe, any commands in the batch file are put to a command prompt & executed. So just put the batch file (or a shortcut to it) in programs/startup in your start menu & youre done!
No.
Nope, there are no such things as a batch file that can run in stealth mode. A batch file is too simple to go as far as that. If you are trying to do this, I would recommend you legally learn about hacking. If that feature is enabled, you can run a whole lot of nasty stuff in there without the user knowing what is happening.
Autorun.bat
batch files are used to run a series of commands at once. people who work on computers daily and have a series of files or programs to start and command to run often create a batch file to do it automatically and save time.
You can use the run as command in the batch file if you are using windows xp and i think with wondows 2000, unfortunatly it is open text so you have to use another programme to do that.
*Never* install any file or run any executable you did not get from a trusted source or that you know to be a good file. Always assume the worst. A .bat file is a batch file used to execute a "Batch" of commands and could have crippling effects on your security. Please, never run something you don't implicitly trust.
Easy enough to create a batch program is you know what the commands are simply goto a text file or notepad and save it as "something.bat" and click on it
Use the CALL command. Enter "CALL /?" at the command prompt for details.
Say you have song name "kajrare.mp3" in your D drive then you can create a batch file to play the song as follows:Go to run and type "cmd". It will open command shell.Go to the location where you want to create batch file say D drive. For this type "d:" and press enter.Now type "edit songs.bat" and press enter. It will open DOS editor. cd d:kajrare.mp3Write following entries:Now save the file by pressing Alt+F+S and exit the editor.A new batch file will create in your D drive. Just double click to run it.
Yes, To run a file in batch, do one of the following: If it is in the same folder, start filename.exe If it is in another folder, start C:\%filepath%\.exe ex: start C:\Windows\system32\cmd.exe