PDA

View Full Version : Append the AutoExec.bat PATH statement



jbeales
10-18-2001, 08:19 AM
Currently, I am using an Environment variable named "Autoexec.bat" to append the Value of "PATH=%PATH%;D:\\EIS\Dddk;". However, using this method I end up with a new line in the Autoexec.bat that looks like:

SET AutoExec.bat=%PATH%;D:\\eis\dddk;

What I need it to do, is append "d:\eis\dddk;" to the end of the path statement, which looks like this:

PATH=%PATH%;C:\PROGRA~1\SYBASE\SQLANY~1\WIN32 ;D:\EIS\dddk;

Can someone please tell me what I'm doing wrong?

Thanks!
Jeanne

Chandima
10-18-2001, 09:04 AM
You are just a little confused :)

All you have to do is create an environment variable named "PATH" with a value of "d:\eis\dddk;". Make sure you have the "Placement" property set to "Append".

By default these values go to the Autoexec.bat on Win9X systems and Environment Variables on NT/2K systems.

jbeales
10-18-2001, 09:12 AM
Thank you!