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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now