Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
Fawers
- Posts: 187
- Joined: 08 Apr 2012 17:11
-
Contact:
#16
Post
by Fawers » 22 Apr 2012 11:18
In this part:
Code: Select all
for /f "delims=" %%p in ('dir /b /on *.asf *.avi *.divx *.flv *.m2ts *.mp4 *.mpg *.ogm *.wmv *.mp3 *.wma *.mkv *.flac *TS.ifo') do (
(echo %%~Fp)>>"%%~nb.m3u"
Try changing
(echo %%~Fp)>>"%%~nb.m3u"to
(echo %%~Nb\%%~NXp)>>"%%~nb.m3u"
-
mrwonker
- Posts: 11
- Joined: 21 Apr 2012 11:56
#17
Post
by mrwonker » 22 Apr 2012 11:42
IT WORKS!!!!
thankyou so much it now does precisely what I want, you've been very helpful much appreciated.
James.