$Q doesn't work

Support for xplorer² free lite version

Moderators: fgagnon, nikos, Site Mods

elena4747
New Member
Posts: 2
Joined: 2008 Jul 22, 12:56

$Q doesn't work

Post by elena4747 »

hello everybody,
i'm new to this forum and i have been using the lite version of xplorer2 for about 2 weeks now. thanks for offering such a powerful tool for free :)

but today i encounted my first problem with xplorer2: i wanted to do a mass rename on subtitle files so that they have the same base name as their associated video files. to do that i activated dual pane mode, the left (inactive) pane showing the folder with the videos and the right (active) pane showing the subtitle folder. in the mass rename window i used the $Q token ($Q.$E) which should actually work fine but the preview shows this:

Code: Select all

1.srt --- Q_PATH.srt
2.srt --- Q_PATH.srt
...
ok, i thought this may be a display bug but when i finally hit rename only the first subtitle file gets renamed to "$Q.srt" although its name should be "videofile_01.srt". the other files don't get renamed at all.

--> what am i doing wrong that $Q doesn't work ($G doesn't work either)? according to the PDF manual i have done everything alright.

--> is there another easy way of achieving my goal to mass rename the subtitles according to their video base file names?

thanks!!! :)
elena
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

hi elena, i'm not sure what you're trying to do but mass rename won't work with $Q or $G, i think it doesn't deal with tokens from the inactive pane

$Q would work if instead of mass rename you created a batch file <ctrl+B> using the DOS ren command (eg ren $N $Qsomething) but $Q would always be fixed to the focused item in the inactive pane, i'm not sure if that's what you want

better try it in a small test case first
elena4747
New Member
Posts: 2
Joined: 2008 Jul 22, 12:56

Post by elena4747 »

hey nikos, thanks for you quick reply and sorry for my late answer. i'm busy taking my exams  :?

you were right, $Q works with the script wizard but not with the mass renamer. but now i've got a new problem:
i have 2 folders, each containing 3 files. in dual pane mode, i select all files, then i activate the pane where the files that are going to be renamed are located and then i press ctrl+b. i build my template and $Q works fine, but all files are going to have the same file name. $Q really only works on the first of many highlighted items. this makes my batch renaming impossible :(

maybe you have another idea how to achieve my goal? i'm gonna explain my file structure again:

i have 2 folders named "videos" and "subtitles". in the videos folder i have 22 ripped episodes from some DVDs of a TV series. the file name contains season+episode+tile.avi. the subtitlesfolder contains 22 ripped subtitles but only named as 1.srt 2.srt 3.srt ... i want the subtitles to have the same base file name ($B) as their corresponding video file so that ffdhow automatically recognizes the subtitles. i don't wanna install and use an extra renaming tool because i think xplorer2 can handle this problem, too.

thanks for further suggestions :)
elena