OK i nead to find all specific files on my hdd and save it's names to *.txt file. Explorer finder lack this simple feature and i have not seen any console command for this problem.
Posted on 2005-01-27 14:06:26 by AceEmbler
dir /b /s > c:\filelist.txt

- or -

dir myfiles*.* /b /s > c:\desiredlist.txt
Posted on 2005-01-27 15:23:52 by Kdr Kane
dir /b /s > c:\filelist.txt

- or -

dir myfiles*.* /b /s > c:\desiredlist.txt


you rule.
Posted on 2005-01-27 16:09:45 by AceEmbler
one MOre Question , this one displays full paths, how can i display only file names ???
Posted on 2005-03-02 11:37:43 by AceEmbler
do some code to parse the file maybe?
Posted on 2005-03-02 14:25:48 by evlncrn8
:-D I like the extended syntax!

@FOR /F "usebackq" %%I IN (`dir myfile*.* /b /s`) DO @ECHO %%~nI >> filelist.txt


Note:

    [*]if you want to run it from command-line, replace each "%%" with "%"
    [*]works only under winXP or so
    [*]the info is always appended at the of filelist.txt
Posted on 2005-03-02 14:52:47 by MazeGen