%N

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
admeis
Junior Member
Junior Member
Posts: 8
Joined: 2003-10-26, 17:01 UTC

%N

Post by *admeis »

Hi!

Is there any reason why %N parameter (in Change start menu) returns:
\"Long File Name.zip\" ?
I'd need just the file name... without \"s...
I know I need "s to use it in a batch or wherever, but what if I need to add something to that name?

I mean:
%N.ZiP should return: Long File Name.zip.ZiP
instead of: \"Long File Name.zip\".ZiP
of course problem is that program I need to use (WinRar 3.10b4) doesn't understand that \"Long File Name.zip\".ZiP ~= Long File Name.zip.ZiP

Here is my Menu command: WinRAR.exe a -m0 -r -rv2 -t -v10000 -vn "%T\%N.rar" %n

Bye
admeis
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-11, 08:34 UTC, edited 1 time in total.
admeis
Junior Member
Junior Member
Posts: 8
Joined: 2003-10-26, 17:01 UTC

Post by *admeis »

norfie wrote:
Here is my Menu command: WinRAR.exe a -m0 -r -rv2 -t -v10000 -vn "%T\%N.rar" %n
Change it to
WinRAR.exe a -m0 -r -rv2 -t -v10000 -vn "%T\%O.%E.rar" %n
It works fine. thanks

Bye
admeis
Post Reply