Setting up 'paths' with XP (MS-DOS emulation)?



Gerry Wolff
07-09-2005, 11:54 PM
I have recently upgraded from W98SE to WXP and I want to run some MS-DOS
programs as I did before.

Previously, I set up paths in the autoexec.bat file so that programs and
files could be found. Please could someone explain how I can achieve the
equivalent effect with the XP command prompt?

With thanks,

Gerry

Pegasus \(MVP\)
07-09-2005, 11:54 PM
"Gerry Wolff" <gerry@work.com> wrote in message
news:OcvfhPpZFHA.3120@TK2MSFTNGP12.phx.gbl...
> I have recently upgraded from W98SE to WXP and I want to run some MS-DOS
> programs as I did before.
>
> Previously, I set up paths in the autoexec.bat file so that programs and
> files could be found. Please could someone explain how I can achieve the
> equivalent effect with the XP command prompt?
>
> With thanks,
>
> Gerry
>
>

The normal way to configure the path variable is to follow this path:
Control Panel / System / Advanced / Environmental variables.
If you insist doing it via the Command Prompt then you could use
setx.exe from the Windows Resource Kit.

Pegasus \(MVP\)
07-09-2005, 11:54 PM
"Gerry Wolff" <gerry@work.com> wrote in message
news:OcvfhPpZFHA.3120@TK2MSFTNGP12.phx.gbl...
> I have recently upgraded from W98SE to WXP and I want to run some MS-DOS
> programs as I did before.
>
> Previously, I set up paths in the autoexec.bat file so that programs and
> files could be found. Please could someone explain how I can achieve the
> equivalent effect with the XP command prompt?
>
> With thanks,
>
> Gerry
>
>

I forgot to mention that the following command will modify the
path for the current session only:

set path=%path%;c:\YourFolder

This, of course, is the same as in Win9x.

Gerry Wolff
07-09-2005, 11:54 PM
Thanks.

Gerry

"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:uJmj9ppZFHA.2664@TK2MSFTNGP15.phx.gbl...
>
> "Gerry Wolff" <gerry@work.com> wrote in message
> news:OcvfhPpZFHA.3120@TK2MSFTNGP12.phx.gbl...
>> I have recently upgraded from W98SE to WXP and I want to run some MS-DOS
>> programs as I did before.
>>
>> Previously, I set up paths in the autoexec.bat file so that programs and
>> files could be found. Please could someone explain how I can achieve the
>> equivalent effect with the XP command prompt?
>>
>> With thanks,
>>
>> Gerry
>>
>>
>
> The normal way to configure the path variable is to follow this path:
> Control Panel / System / Advanced / Environmental variables.
> If you insist doing it via the Command Prompt then you could use
> setx.exe from the Windows Resource Kit.
>
>


Setting up 'paths' with XP (MS-DOS emulation)?