@echo off
set Masm32Dir=C:\Masm32
set include=%Masm32Dir%\Include;%include%
set lib=%Masm32Dir%\lib;%lib%
set path=%Masm32Dir%\Bin;%Masm32Dir%;%PATH%
set Masm32Dir=
echo on




:confused: :eek: :(
Posted on 2003-01-17 11:32:49 by sCHZhangGX
no offense but could you make your posts readable? it's not kindergarten here.
Posted on 2003-01-17 11:56:00 by Hiroshimator
I think I know what you are looking for

1. the "set" command creates a word (variable) to equal what it is set to

set mymasm=\masm32

Now, mymasm is created and it has the text string "\masm32", but to use it you need to put mymasm between two %'s like: %mymasm%

so after that set command:
cd %mymasm%

is just like saying:

cd \masm32

I don't know why he has all that repetition in the code he gave you, but that is what happens to those words that are in the %signs%. ;)

I hope that helps
Posted on 2003-01-17 14:49:23 by Narfinator