|
-
Feb 29th, 2008, 03:18 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Have command line look in folder
When I run a program that's in the system folder, such as regsvr32 or the like, from the command window, it doesn't mater which folder I'm in, it will always go to the system folder and run the program from there.
However, when I want to run a program that was deployed with Visual Studio, such as gacutil or the like, it won't look in the Visual Studio folder to find the program and I have to copy it to either the system folder or the local folder in order for it to run.
I recall from somewhere that there's some setting somewhere that you can enter in various paths on your machine that you want the command window to look in to grab programs to run them no matter which folder you're in in the command window. Does anyone know where to set this?
-
Feb 29th, 2008, 03:26 PM
#2
Re: Have command line look in folder
I think you're looking for the environment variable "PATH". Right click My Computer, properties, advanced, environment variables button. Find the path variable there and you should see a semi-colon delimited list of paths. You can add yours there.
Is that what you meant?
-
Feb 29th, 2008, 04:17 PM
#3
Thread Starter
Frenzied Member
Re: Have command line look in folder
Exactly what I meant.
Thank you so much.
-
Mar 1st, 2008, 01:02 PM
#4
Re: [RESOLVED] Have command line look in folder
Well that's a relief, I was apprehensive.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|