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:

@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!
_________________________
-D Modifying and Tweaking is a journey, not a destination................................ MKIIa : 60gig - 040103286 - Blue - v2 + PCATS tuner MKIIa : 20gig - 040103260 - Blue - v3a8 + Mark Lord Special Edition Cherry Dock