VOGONS


First post, by cyberwalker

User metadata
Rank Newbie
Rank
Newbie

The following line under prompt gives incorrect result:
set path=%path%;c:\xdir
If the origin is path=c:\dos, the correct value should be:
path=c:\dos;c:\xdir
but the actual result is:
path=%path%;c:\xdir

Reply 1 of 1, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

An even simpler example:

Z:\>echo %PATH%
%PATH%

Z:\>

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32