Log in

View Full Version : SET PATH command to be entered every time I open the Command Prompt


vm_oldbones
Feb 11, 2011, 07:58 AM
Dear all,

I use WinXP SP3 Pro. I have a directory, C:\XEDIT, in which I have DOS programs, among them FULIST.

In AUTOEXEC.NT, I added "SET PATH=C:\XEDIT\;".

When I open the Command Prompt window in a directory, say C:\DATA, and enter FULIST, I get the error message "Fulist is not recognized as an internal or external command, operable program or batch file".

I must enter SET PATH=C:\XEDIT\ on the command line, and FULIST works.

Every time I close the Command Prompt and re-open it, I must re-enter the SET PATH command.

How can I have the SET PATH activated for good when starting XP?

Thank you,

Phil

Scleros
Feb 11, 2011, 11:13 AM
Setting the PATH environment variable per user account or per system via the Control Panel > System Applet > Advanced Tab > Environment Variables Button has always worked for me.

Including a path in autoexec.bat located in the drive root seems to work too.

vm_oldbones
Feb 12, 2011, 10:58 AM
Scleros, did as you said, seems to work for me too now. Thank you very so much for your help!

Phil