Posted by: SonicSnoop
Need DOS Batch (DIR command) help - 09/11/2006 04:51
Hey guys hows it going.. A friend had asked me some help with a dos batch file. he wanted one where he could enter the dir to scan for mp3's and put it into a text file. Here is the code:
Code:
Is there a way to get this to not show the dir's in front of the file names? Thanks guys!
Code:
@echo off
set /P dir=Directory: %=%
set /p file=Output File Name: %=%
dir /s /w /b %dir%\*.mp3 > %file%
Is there a way to get this to not show the dir's in front of the file names? Thanks guys!