How do I run a command on startup?

  • Thread starter Thread starter laredotornado
  • Start date Start date
L

laredotornado

Hi,

Normally when I start this process, I fire up my command window and
type in the command at the command prompt. How do I get this command
to run at system startup?

Thanks, - Dave
 
laredotornado said:
Hi,

Normally when I start this process, I fire up my command window and
type in the command at the command prompt. How do I get this command
to run at system startup?

Thanks, - Dave

Dave:

Have you tried placing the command in your AUTOEXEC.BAT file or in the
Windows start menu "Startup" folder?

John

--
\\\||///
------------------o000----(o)(o)----000o----------------
----------------------------()--------------------------
'' Madness takes its toll - Please have exact change. ''

John Dulak - 40.4888ºN,79.899ºW - http://tinyurl.com/2qs6o6
 
Dave:

Have you tried placing the command in your AUTOEXEC.BAT file or in the
Windows start menu "Startup" folder?

John

--
                          \\\||///
------------------o000----(o)(o)----000o----------------
----------------------------()--------------------------
'' Madness takes its toll - Please have exact change. ''

John Dulak - 40.4888ºN,79.899ºW -http://tinyurl.com/2qs6o6

I may have to create this file as I have no autoexec.bat file on my
system. Also, in what Startup folder do I place this in? There are
several in my system, including one at C:\Documents and Settings\All
Users\Start Menu\Programs .

Thanks, - Dave
 
Dave:

Have you tried placing the command in your AUTOEXEC.BAT file or in the
Windows start menu "Startup" folder?

John

--
                          \\\||///
------------------o000----(o)(o)----000o----------------
----------------------------()--------------------------
'' Madness takes its toll - Please have exact change. ''

John Dulak - 40.4888ºN,79.899ºW -http://tinyurl.com/2qs6o6

I may have to create this file as I have no autoexec.bat file on my
system. Also, in what Startup folder do I place this in? There are
several in my system, including one at C:\Documents and Settings\All
Users\Start Menu\Programs .

Thanks, - Dave
 
laredotornado wrote:

I may have to create this file as I have no autoexec.bat file on my
system. Also, in what Startup folder do I place this in? There are
several in my system, including one at C:\Documents and Settings\All
Users\Start Menu\Programs .

Thanks, - Dave

Dave:

AUTOEXEC.BAT is a plain text file that contains command lines that get
executed on system boot. It is located in the root folder of the boot
drive e.g. C:\

Much the same thing can be done via the various "Startup" folders. If
you use a Startup folder located in a specific user's start menu it
will only be run when THAT user logs on to Windows. If you use the
Startup folder in "All Users" or
C:\Windows\system32\config\systemprofile the command will execute
whenever windows starts.

If the command you want to run relies on some component of Windows you
should use a "Startup" folder since the AUTOEXEX.BAT file is run
before Windows is running.

HTH & GL

John

--
\\\||///
------------------o000----(o)(o)----000o----------------
----------------------------()--------------------------
'' Madness takes its toll - Please have exact change. ''

John Dulak - 40.4888ºN,79.899ºW - http://tinyurl.com/2qs6o6
 
Back
Top