I'm using this command:
Code: Select all
dir "%CD%" / al / s>out.txt
In the out.txt-file are for example the following lines:
26/11/2013 12:34 <JUNCTION> FolderJunction1 [C:\Path1\SubFolder1]
26/11/2013 23:44 <SYMLINKD> FolderSymlink2 [C:\Path2\SubFolder2]
If I parse this above quoted line(s) with the following command..
Code: Select all
for / f "tokens = *" %%a in (out.txt) do call :FurtherProcessing %%a
I get the following output for %%a
26/11/2013 12:34 FolderJunction1 [C:\Path1\SubFolder1]
26/11/2013 23:44 FolderSymlink2 [C:\Path2\SubFolder2]
How do I get the complete original line, or what I'm doing wrong?
I'm missing the information if the line is from a <JUNCTION> or <SYMLINKD>!