1.

Solve : make a filelist.txt from files in a folder?

Answer»

hi guys!

i've got a PROBLEM. i'm TOTALLY new in making batchfiles. i want to put the filenames of the files in a folder into a .txt file named maplist.txt. filenames are like arena.BSP but in the maplist.txt may not be the .bsp thingys. i said i'm totally new so i need help with that. it shall run on a winXP or win 2003 server.
Please help!!!

thanks a lot ArmageddonCode: [Select]@echo off
dir /b /a-d > maplist.txt
writes the files in the current directory to the file maplist.txt. Just WRITE these two lines into a file with the extension .bat and EXECUTE this file.

Cheers,
[glb]cs[/glb]



Discussion

No Comment Found