ED:search result em_cmd's start path is set to root

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

ED:search result em_cmd's start path is set to root

Post by *dindog »

using everything search in current path,"ed:" , the %F %WF still output relative path to %P, so they won't work.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ED:search result em_cmd's start path is set to root

Post by *ghisler(Author) »

%F and %WF do not provide any kind of path, just the file name:
%F Long file names without path, e.g. Long name.exe
Author of Total Commander
https://www.ghisler.com
User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

Re: ED:search result em_cmd's start path is set to root

Post by *dindog »

ghisler(Author) wrote: 2019-12-18, 10:42 UTC %F and %WF do not provide any kind of path, just the file name:
i probably misunderstood the %F mean in search result... false alarm
User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

Re: ED:search result em_cmd's start path is set to root

Post by *dindog »

I still have question:
as previous example, search for * in ONE path, then selected all, the internal command cm_PackFiles will get a archiver has relative path to the D:\a, how can I do that in command line? i.e. how can I run em_cmd with start path is %P and a relative filelist to source path
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: ED:search result em_cmd's start path is set to root

Post by *ghisler(Author) »

There is no relative path because search shows absolute paths. Try using %L and tell the packer to not pack drive letters.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: ED:search result em_cmd's start path is set to root

Post by *Hacker »

[mod="Hacker"]Moved to the English forum.[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply