![]() This is a simple bat file that accepts a single argument for the directory you want to list files in and prints file names, creation date and date modified. Var fso = new ActiveXObject("Scripting.FileSystemObject") You can also use the build in jscript (every windows has it) and create a hybrid. both of the above approaches will make a text file called mp3s.txt in your mp3 folder. although the above will show hidden files (thumbs.db among other things from album art) so you may want to hide those: dir /a-d-h /s. This is not a full script but just an example.Change drive and path to the dir you want list (mind of double slashes in the path).You also should care that the WMIC output is in unicode (unlike the cmd )Īnd WMIC is not available in XP home edition. To exclude directory names but recurse into subdirectories: dir /a-d /s. ![]() ![]() Wmic datafile where (drive="C:" and path="\\somedir\\somesubdir\\") get Caption,CreationDate,LastModified ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |