Search found 2 matches

by maxray
18 Dec 2016 23:32
Forum: DOS Batch Forum
Topic: Printing the last file name in each sub directory
Replies: 4
Views: 4761

Re: Printing the last file name in each sub directory

Thanks Squashman, LotPings and penpen for your replies. Directory structure: normal windows directory structure...folders inside folders e.g. 10 folders (season1, season 2...season 10) inside a folder named smallville. Yes, the code need not write to a excel file. csv works for me and i can open it ...
by maxray
17 Dec 2016 01:29
Forum: DOS Batch Forum
Topic: Printing the last file name in each sub directory
Replies: 4
Views: 4761

Printing the last file name in each sub directory

Hi, I need a code, that finds out the last file in each sub directory, and then prints the result to an excel sheet. Last file name: when all the files are sorted alphabetically, then the last alphabetical file name. e.g, if there are 5 folders, and each contains 10 files, then the final resulting e...