Search found 2 matches

by faust
27 Feb 2009 06:40
Forum: DOS Batch Forum
Topic: Using "set" within a for loop?
Replies: 3
Views: 7105

In case anyone cares, the answer is delayed expansion. Corrected code setlocal ENABLEDELAYEDEXPANSION set count=1 for /f "tokens=1" %%i in (PortList) do ( echo !count!^) %%i set /A count=!count!+1 ) set /A count=%count%-1 echo. set /P input=Please select [1-%count%]: Y...
by faust
20 Feb 2009 22:40
Forum: DOS Batch Forum
Topic: where is cl.bat?
Replies: 1
Views: 4848

where is cl.bat?

Where is the cl.bat file that is referred to on this site?