Make list of markes files...
Moderators: Hacker, petermad, Stefan2, white
Make list of markes files...
Help...
Im trying do make a button which makes a list of all marked files,
a playlist.
I use this command, but it says "File not found"
dir %L /b > Playlist.m3u
Im using Windows 2000 Pro, if it makes any diffrence.
/Marcus
Im trying do make a button which makes a list of all marked files,
a playlist.
I use this command, but it says "File not found"
dir %L /b > Playlist.m3u
Im using Windows 2000 Pro, if it makes any diffrence.
/Marcus
2most
Use the MakeBAT plugin to create playlists.
A commandline way of creating a playlist could be:
Command: cmd /K
Parameters: copy %L PlayList.m3u
Total Commander parameters are allowed in the parameters field only.
A nice way of changing the target filename is the ? parameter.
Command: cmd /C
Parameters: ?copy %L PlayList.m3u
cmd /K commandline window remains open after execution.
cmd /C commandline window will be closed after exection.
Use the MakeBAT plugin to create playlists.
A commandline way of creating a playlist could be:
Command: cmd /K
Parameters: copy %L PlayList.m3u
Total Commander parameters are allowed in the parameters field only.
A nice way of changing the target filename is the ? parameter.
Command: cmd /C
Parameters: ?copy %L PlayList.m3u
cmd /K commandline window remains open after execution.
cmd /C commandline window will be closed after exection.
Last edited by Lefteous on 2004-02-04, 10:08 UTC, edited 1 time in total.
I have tried MakeBAT, but I couldn't make it work like I wanted.
See http://www.ghisler.ch/board/viewtopic.php?t=3144
I want to select the files and then just press a button...
/M
See http://www.ghisler.ch/board/viewtopic.php?t=3144
I want to select the files and then just press a button...
/M
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Re: Make list of markes files...
The intern DOS command are not found by TC. So make a mov.bat what containsmost wrote:Help...
Im trying do make a button which makes a list of all marked files,
a playlist.
I use this command, but it says "File not found"
dir %L /b > Playlist.m3u
Im using Windows 2000 Pro, if it makes any diffrence.
/Marcus
Code: Select all
move %1 %2 %3 %4 %5 %6 %7 %8 %9
Then create a button with the command 'mov' and the parameter
Code: Select all
%f %PPlaylist.m3u
If you use %F instead of %f there will be the long names in the playlist (otherwise the DOS name with ~1 etc.).
The use of the move command is necessary because the param %f gives a list of the marked files to the started program. So this button simply moves and renames the *.tmp file that TC creates to the current Path (%P).
Sorry we've all missed the Quotation mark. So it must be:ben hub wrote:The right syntax could be :
command: cmd.exe /c move
parameters: %F %pPlaylist.m3u
- %F instead of %f to get long filenames
- %p instead of %P which doesn't work for me if there is a space (or more) in the name of a parent directory.
command: cmd.exe /c
parameters: %F "%PPlaylist.m3u"
because long filenames (with spaces) have to be enclosed with qoutation marks in DOS mode.
sheepdog
I'm looking for the opposite way:
I would like to copy all files of a playlist to a drive, i.g. USB-stick.
One idea is, that the playlist-plugin from http://darkone.dzaba.com/english/Download.html this have as an further action?
Any other ideas?
I would like to copy all files of a playlist to a drive, i.g. USB-stick.
One idea is, that the playlist-plugin from http://darkone.dzaba.com/english/Download.html this have as an further action?
Any other ideas?
Tom - #81178 - 5 User licence - Klugheit, Gerechtigkeit, Tapferkeit und Mäßigung plus Kooperation.
Hmm, remove unnecessary lines (in a m3u these would be all the odd lines I think) and prepend the rest with copy and append the target path? This should be fairly easy if your editor supports macros... (eg http://www.lancs.ac.uk/staff/steveb/cpaap/pfe/default.htm )
HTH
Roman
HTH
Roman