[Q] %P without a BackSlash?
Moderators: white, Hacker, petermad, Stefan2
[Q] %P without a BackSlash?
Is there a way to have %P without the backslash?
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
ahh..well solved it allready
i'm passing %P to this:
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.