Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Get dir files names into a file
Name: Vlad Zehtser Date: February 3, 2003 at 11:57:30 Pacific OS: NT CPU/Ram: P4
Comment:
I’m trying to get a current directory list and put a list of all file names in this directory into FNAME.TXT file. Each record in this file should include 1 file name. Any help would be appreciated.
Summary: If you get the folder names into a txt file you can: ===================================== @echo off & setLocal EnableDelayedExpansion for /f "tokens=* delims= " %%a in (myfold.txt) do ( copy c:\a.txt...
Summary: To include empty subdirectories /E There 'may' be a utility that copies the long file names into a file for restoration under a FAT32 environment. ...
Summary: Thanks for all your replies. I need Long File Name support and LFNDOS and DOSLFN are pretty flakey. I tried xxcopy, which works but is terribly slow and has no Long File Name support. I have also tri...