Problem with %L (feature request?)

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Dominik
Member
Member
Posts: 101
Joined: 2003-02-09, 20:46 UTC

Problem with %L (feature request?)

Post by *Dominik »

If I select 3 files,says 1.mp3,2.mp3 and 3.mp3,internal command %L will make temp. list file like this:

X:\PATH\1.mp3
X:\PATH\2.mp3
X:\PATH\3.mp3

but if I select directory,says Music (or just put a cursor on it),it will make temp. file list like this:

X:\Music\

My problem is that i dont want back slash as last character.I dont want it there, i need only X:\Music in

Do you ask why? Reason:

winamp.exe /add X:\Music\ does NOT work but
winamp.exe /add X:\Music works without problems

(/add parameter adds files to the playlist)

So this is a feature request I think,there should be also something like %L2,which don't put the slash after the directory.What do you think? Is it worth to add this feature?

Dominik
Dominik
Member
Member
Posts: 101
Joined: 2003-02-09, 20:46 UTC

Post by *Dominik »

Nobody?
Gregory
Junior Member
Junior Member
Posts: 89
Joined: 2003-02-08, 10:04 UTC
Location: Kiev, Ukraine

Post by *Gregory »

You could use lst2str for that. (can be found on Official TC page.)
lst2str "c:\program files\winamp\winamp.exe" "%L" "/ADD"
This would start winamp with the /ADD switch passing the contents of the list file.

If the list file contains directories ending with [\], they will be stripped.
This was done mainly for winamp.
Or WaLaunch4TC (can be found on http://www.maxwish.tk).
It was made for Winamp 3 so I don't know if it works with Winamp 2.
Dominik
Member
Member
Posts: 101
Joined: 2003-02-09, 20:46 UTC

Post by *Dominik »

Thank you very much,i was using lst2mlt.exe which dont have that feature.
Post Reply