thanks for you quick relay
here is what i want to do.
//myfile.txt
"project1"=vc2005 //projectname=projecttype
"project2"=vc6
"project3"=csharp
i want to write a batch file to read this file and automatically build
these projects.
for /F "tokens=1,2,3* delims==" %%i in (myfile.txt) do (set
projectname=%%i set projecttype =%%j)
but seems i can't write in the above style. can you tell me how to
write compound command in for loop?
Pegasus (MVP) $B<LF;!'(B
> "thinktwice" <(E-Mail Removed)> wrote in message
> news:f6a8cd45-a611-46e6-9a49-(E-Mail Removed)...
> > for /F "tokens=1,2,3* delims=," %%i in (myfile.txt) do ( command1,
> > command2...)
> > could i?
>
> You probably could but you need to spend a little more of your
> time in explaining precisely what you're trying to achieve.