1.

Solve : Viewing short file name(SFN) on an XP system(simple I hope)?

Answer»

I've searched the internet a bit for this topic but did not come up with anything good. All the help seemd to AID in getting LFN from older systems.

Want to do a DIR C:\?\ and sent to a TEXT FILE >sfn.txt essentially I need a TREE listing of a DIRECTORY outputted to a text file.

Thanksdir /x c: **if you want only the short names

for /f "tokens=5*" %%e in ('dir /x C:**') do echo %%e>>yourfile



Discussion

No Comment Found