is it possible to set windows up so that i can type something in the run box and it will open a program?

gopunk

Lifer
Jul 7, 2001
29,239
2
0
i know that this works for stuff like notepad, word, etc... but say i wanted to set it up so that typing photoshop in the run box opened up photoshop... is this even possible?
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
The run box looks for either predefined programs and/or progs that are in the known Windows path structure.

Assuming that the program is not starting from the above situations, try setting up a shortcut or batch file to activate the prog.
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0
yea, i've tried the shortcut, didn't seem to work too well...

so is there a way to define what windows thinks are predefined programs? maybe some sort of registry edit?
 

pulse8

Lifer
May 3, 2000
20,860
1
81
Maybe at the photoshop directory to Windows' path?

In Win2k or XP, it's in the system properties under Environment Variables. There should be one that says path.
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0
hmm... okay, i'll check that when i get home... i'm at work and it looks like i don't have privilege to change that :(
 

StevenYoo

Diamond Member
Jul 4, 2001
8,628
0
0
perhaps one way to do it is to create a DOS batch file and call it photoshop.bat and place it in the windows folder.

i think the bat file would look something like this:

cd\progra~1\adobe\photos~1.0
photoshop.exe
echo off


After making this file and putting in the windows directory, try typing in "photoshop" in the run box and see what happens

i forget how to do simple batch operations. I'm getting rusty
 

jmitchell

Senior member
Oct 10, 2001
212
0
0
to make a batch file, go to the dos prompt/command by typing command on the run screen. At the command line, type

copy con photoshop.bat
cd..
cd progra~1
cd adobe
cd photos~1
photoshop.exe
echo off
(then hit ctl-z, then enter on this line) ^z

thats it. maybe... it should work though, if you save it in the windows folder