Indigo2005 Posted June 24, 2005 Posted June 24, 2005 It may be helpful for someone ! Get all filename in the current directory :@dir /b /s *.*Note : Replace *.* by *.bmp if you only want to take filename of bitmap files.Note 2 : Delete /S if you don't want the content of the ubdirectories.This scipt take all filename of the current directory and past it into a .txt file (called list.txt)@echo Offtitle Get all filename Find /V " " < list.txt > %TEMP%.\Myfile.tmp @dir /b /s *.* >>%TEMP%.\Myfile.tmp Copy %TEMP%.\Myfile.tmp list.txt Del %TEMP%.\Myfile.tmpexitThat's it Tell me if this script help you ... Indigo -
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now