View Single Post
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 10-17-2018 , 11:05   Re: Directory finder
Reply With Quote #4

Nice tip with Notepad++ using hold alt with left mouse button!

This may be what you are looking for:
Link to Model Manager List Generator: https://forums.alliedmods.net/showpo...postcount=1151
Link to Batch FastDL .bz2 recursive bzip2 compress: https://forums.alliedmods.net/showthread.php?t=262453

I use these batch files in my bzip directory:
zipper.bat:
Quote:
for /F %%A in ('dir C:\temp /A-D /S /B') do bzip2.exe -z "%%A"
unzipper.bat:
Quote:
for /F %%A in ('dir C:\temp /A-D /S /B') do bunzip2.exe -d "%%A"
When I need files in bz2 format I place the folders and files into into my temp folder and run zipper. It will convert all files into bzip2 format and retains the folder structure.

However, if all you want to do is get file names into a text file, try this:
1. open command prompt
2. change working directory into the models folder you want
3. to get files in current directory type: dir *.* >models.txt
4. to get files in current directory and all sub directories type: dir *.* /s >models.txt
5. This will copy filenames into a file called models.txt

I hope this helps...

Last edited by PC Gamer; 10-17-2018 at 12:36.
PC Gamer is offline