[Q] %P without a BackSlash?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
lhay-mehr
Junior Member
Junior Member
Posts: 20
Joined: 2004-06-26, 13:35 UTC

[Q] %P without a BackSlash?

Post by *lhay-mehr »

Is there a way to have %P without the backslash?
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

Use search. This question was answered several days ago.
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
petergus
Member
Member
Posts: 164
Joined: 2003-02-06, 16:28 UTC
Location: Sweden, Enköping
Contact:

Post by *petergus »

lhay-mehr
Junior Member
Junior Member
Posts: 20
Joined: 2004-06-26, 13:35 UTC

Post by *lhay-mehr »

ahh..well solved it allready :)

i'm passing %P to this:

Code: Select all

program StupidMP3Tag;

uses
  SysUtils,
  ShellAPI;

var
  CmdStr: string;

begin
  CmdStr := '"' + ExcludeTrailingPathDelimiter(ParamStr(1)) + '"';
  ShellExecute(hInstance, 'open', 'MP3TAG.exe', PChar(CmdStr), '', 0);
end.
Post Reply