Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
How do u make a batch file that runs whenever the computer boots up
Name: Jason Date: August 10, 2000 at 11:57:20 Pacific
Comment:
How do u make a batch file that runs whenever the computer boots up?
Name: DoOMsdAY Date: August 10, 2000 at 12:01:42 Pacific
Reply:
Autoexec.bat is a batch file that runs every time the computer starts up. :) (C:\autoexec.bat.)
0
Response Number 2
Name: techtony Date: August 10, 2000 at 13:32:36 Pacific
Reply:
using notepad, write your batch file with all the commands you want executed. Save it in the C: directory as ****.bat (use the name you like in place of ****). Then in autoexec.bat place the name of the file on a line (before win if you have win, but after any emm entry or smartdrv).
0
Response Number 3
Name: Jason Date: August 10, 2000 at 18:41:36 Pacific
Reply:
when i open my autoexec.bat it reads: ********************************************* @echo off C:\PROGRA~1\MCAFEE\VIRUSS~1\SCANPM.exe C:\ @if errorlevel 1 pause ********************************************
do i put my bat file after the "@if errorlevel 1 pause" or before it?
0
Response Number 4
Name: Jason Date: August 10, 2000 at 18:44:31 Pacific
Reply:
i was also wondering why AUTOEXEC.BAT runs but not other bat files. is there any command that makes a ordinary bat file runs when a computer boots up? so that i could replace the AUTOEXEC.BAT with my own bat whenever i boot up computer?
0
Response Number 5
Name: W0rm Date: August 10, 2000 at 19:47:07 Pacific
Reply:
autoexec.bat is an ordinary batch file. io.sys executes command.com with the switch "/K AUTOEXEC.BAT" -> if you put (in config.sys):
SHELL=COMMAND.COM /K NEWBATCH.BAT
it'll run that batch file instead. but dont replace autoexec.bat, add onto it, or add to the end of it
CALL NEWBATCH.BAT
where in all the cases NEWBATCH is the name of your batch file. - W0rm
0
Response Number 6
Name: TiGGeR Date: February 17, 2001 at 07:07:48 Pacific
Reply:
make your batch file and place it in the "startup" folder. Also: If using this with a program simply have your installer place it there for the user automatically. If you check out Winamp and scour the site you will find a freeware installer that is used for thier plug-ins. This is a great little installer that only adds a few kbs to your program at best. It is called, or at least was called, the "Pimp Installer".
Summary: I'm am wanting to know if anyone knows how to write a batch file that will check the pc to see what day it is(ex. Mon.Tues.Wed, etc.)and if it is that day then call another batch to run, but if it is ...
Summary: Hey .. .i've been wondering is there anyway to make a .bat file to run programs on a usb?.. so that it will either ask you to input a name to run the software.. or it will give u a list to chose from....