How to auto start a program when you log in to a windows pc
How to start a program automatically when you log in to a windows computer.
STEP ONE:
Dependant on your operating system, the location of the start up folder will be different.
To find the start up folder, open run from the windows menu (or press Win+R) and type:
%userprofile%\Start Menu\Programs\Startup
then press OK.
STEP TWO:
A folder should then open, this is your start up folder – anything you put in to this folder will run as soon as you log in.
STEP THREE:
There are two ways to put programs / files in to the folder, the easiest way would be to drag and drop them.
The second way is to create a simple batch script that’ll do it for you.
Here is an example of a script that can be used:
cd “%userprofile%\Desktop”
copy test.bat “%userprofile%\Start Menu\Programs\Startup”
del %0
What it does:
The first line: “cd” tells windows to change in to a directory that we specify.
The second line: This copys test.bat and puts it into the start up folder.
The last line: This deletes the file from its original location once it has been copied.
STEP FOUR:
To make your own batch file:
open up notepad and type:
cd “the directory that the file is in”
copy file name “directory to copy to”
del %0
Then go to File > Save As…
File name: test.bat
Save as type: All Files
Encoding: ANSI
STEP FIVE:
Some useful programs to auto run;
Notepad
“start notepad.exe”
Internet explorer:
“start iexplore.exe”
Firefox:
“start firefox.exe”
Leave a Reply