|
Answer» Hi Everyone,
In batch code, is it possible to read a text FILE (Line by Line).
For eg., Text file "Src.txt" CONTAINS the following text.... d:\a.txt d:\b.txt d:\c.txt
I NEED to read "src.txt" file line by line and i need to delete the file name mentioned in each line......, (Ie.., when dos read the FIRST line of "Src.txt" it should delete the file "D:\a.txt")
Is there any option to resolve this issue....
Thank in Advance.
Ur, Vinoth
I've not been able to figure this out (If it is at all possible)welcom
u can use the for COMAND like this
for /f "delims=" %%i in (Src.txt) do del "%%i"Thank you very much.
|