How to run a .BAT file at startup?
Pierre
-
bh -
bh -
Hello!
I'M GETTING INTO MS DOS!
I'm starting to get familiar with batch files
I'm trying to apply different commands
and I was wondering how (if it's possible) to run operations at Windows startup using AUTOEXEC.BAT
I added the CALL command in AUTOEXEC.BAT to call a second bat file, placed at the root of C:\ of course, but nothing happens at startup, it works when I click on it though.
AUTOEXEC.BAT is apparently no longer useful under XP or 2K, but can we still use it to add commands at startup????
If anyone can tell me more, I would greatly appreciate it!
THANKS EVERYONE!!!
@+ Pierre.
I'M GETTING INTO MS DOS!
I'm starting to get familiar with batch files
I'm trying to apply different commands
and I was wondering how (if it's possible) to run operations at Windows startup using AUTOEXEC.BAT
I added the CALL command in AUTOEXEC.BAT to call a second bat file, placed at the root of C:\ of course, but nothing happens at startup, it works when I click on it though.
AUTOEXEC.BAT is apparently no longer useful under XP or 2K, but can we still use it to add commands at startup????
If anyone can tell me more, I would greatly appreciate it!
THANKS EVERYONE!!!
@+ Pierre.
8 réponses
TO RUN A .BAT FILE AT STARTUP
* FOR EXAMPLE, LET'S CREATE A FILE THAT LAUNCHES WORD AT STARTUP
FOLLOW THE STEPS BELOW:
1/ NAVIGATE TO THE ROOT C:\ AS FOLLOWS
* START - ALL PROGRAMS - ACCESSORIES - COMMAND PROMPT
YOU WILL THEN SEE C:\WINDOWS>
TYPE CD.. OR CD\ TO CLOSE THE WINDOWS DIRECTORY
C:\>
2/ TYPE COPY CON LANCER.BAT AND PRESS ENTER
3/ TYPE START WINWORD.EXE OR WINWORD
4/ PRESS F6 TO SAVE
5/ COPY THE LANCER.BAT FILE TO THE WINDOWS\STARTUP FOLDER
NOTE THAT A .BAT FILE IS ALWAYS EXECUTED AT EACH STARTUP OR RESET OF THE COMPUTER
IT IS ALSO POSSIBLE TO CREATE THIS FILE WITHOUT GOING THROUGH DOS
* JUST CREATE A SCHEDULED TASK
THANK YOU
* FOR EXAMPLE, LET'S CREATE A FILE THAT LAUNCHES WORD AT STARTUP
FOLLOW THE STEPS BELOW:
1/ NAVIGATE TO THE ROOT C:\ AS FOLLOWS
* START - ALL PROGRAMS - ACCESSORIES - COMMAND PROMPT
YOU WILL THEN SEE C:\WINDOWS>
TYPE CD.. OR CD\ TO CLOSE THE WINDOWS DIRECTORY
C:\>
2/ TYPE COPY CON LANCER.BAT AND PRESS ENTER
3/ TYPE START WINWORD.EXE OR WINWORD
4/ PRESS F6 TO SAVE
5/ COPY THE LANCER.BAT FILE TO THE WINDOWS\STARTUP FOLDER
NOTE THAT A .BAT FILE IS ALWAYS EXECUTED AT EACH STARTUP OR RESET OF THE COMPUTER
IT IS ALSO POSSIBLE TO CREATE THIS FILE WITHOUT GOING THROUGH DOS
* JUST CREATE A SCHEDULED TASK
THANK YOU
Hello
If your .bat file is called for example toto.bat
in your autoexec.bat simply add a line with toto.bat. That's it. You can also do it by starting -- Run
Claude
If your .bat file is called for example toto.bat
in your autoexec.bat simply add a line with toto.bat. That's it. You can also do it by starting -- Run
Claude
Hi,
you can simply copy the shortcut into the Startup folder and your program will launch on Windows startup. The shortcut offers you an additional tab to manage the MS-DOS mode.
amts
Foico
you can simply copy the shortcut into the Startup folder and your program will launch on Windows startup. The shortcut offers you an additional tab to manage the MS-DOS mode.
amts
Foico
Hi,
where can I find my startup file? Is it enough once I copy my .bat file into this folder for it to start launching at every boot? Please explain to me in detail what I can do for it to launch at startup? Thank you.
where can I find my startup file? Is it enough once I copy my .bat file into this folder for it to start launching at every boot? Please explain to me in detail what I can do for it to launch at startup? Thank you.
Hello
where can I find my AUTOEXEC.bat file? I've searched everywhere on my C: drive but couldn't find it. I want to mention that I have Windows XP. Thank you.
where can I find my AUTOEXEC.bat file? I've searched everywhere on my C: drive but couldn't find it. I want to mention that I have Windows XP. Thank you.
what is he? you’re smoking me a hat