G
Guest
If I run the following script in a directory with two files named test1.txt &
test2.txt, FILELIST should have the value of "Test2.txt;Test1.txt;NOFILES".
Instead it has the value of "Test2.Txt;NOFILES". Can any one tell me why? Or
how to get it to work correctly?
@SET FILELIST=NOFILES
@for %%f in (*.txt) do @(
@echo %%f
@set FILELIST= %%f;%FILELIST%
@echo %FILELIST%
)
Thanks,
test2.txt, FILELIST should have the value of "Test2.txt;Test1.txt;NOFILES".
Instead it has the value of "Test2.Txt;NOFILES". Can any one tell me why? Or
how to get it to work correctly?
@SET FILELIST=NOFILES
@for %%f in (*.txt) do @(
@echo %%f
@set FILELIST= %%f;%FILELIST%
@echo %FILELIST%
)
Thanks,