#1 2014-04-27 07:24

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

The commandline mode does not work reliably with Windows 8 64-bit

Hi

I am using the latest beta.

I select single/multiple files in xplorer2 (a dual-pane explorer-replacement), and pass them to Renamer using the following command:

>"C:\Program Files (x86)\Util\ReNamer\ReNamer.exe" "$S"

(Note: xplorer2 has a commandline mode, in which the $S switch represents the list of selected files with paths.)

This used to work in my old OS (win 7 32 bit).
But recently I changed over to Windows 8 64 bit, and now the commandline mode mostly fails to pass the list of files as arguments.
(It launches ReNamer consistently, though.)

For example, x2 can send pdf files from a given folder, but not mp4 or epub from the SAME folder.
The names contain alphabetic characters only (a-z,A-Z); and do not contain characters like dot (.), hyphen, underscore, comma, digits (0-9), etc.

What could be the problem?

Last edited by narayan (2014-04-27 07:33)

Offline

#2 2014-04-27 07:38

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

Re: The commandline mode does not work reliably with Windows 8 64-bit

p.s. found a pattern: If a file base name has a space in it, it is not passed to ReNamer.
But that is precisely why I enclose the token $S in double quotes (to take care of spaces in base names.)
It used to work earlier in Win 7 but not any more in Win 8.

I do not know whether the problem lies at x2 end or ReNamer end...
Will contact Nikos Bozinis also.

Last edited by narayan (2014-04-27 07:40)

Offline

#3 2014-04-27 11:10

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: The commandline mode does not work reliably with Windows 8 64-bit

It may depend how X2 send this command.
You may want to double the double quotes as WinOS often remove the outer quotes before passing them to the calling app.

>"C:\Program Files (x86)\Util\ReNamer\ReNamer.exe" ""$S""
or
>""C:\Program Files (x86)\Util\ReNamer\ReNamer.exe" "$S""


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#4 2014-04-27 14:14

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

Re: The commandline mode does not work reliably with Windows 8 64-bit

Yes, the first version worked. Thanks!

Offline

Board footer

Powered by FluxBB