Sorry but i do not understand where is the problem to add this little check.... as i see FlashFXP is write in Delphi...
as i am a delphi developer too, i think it's very simple to add that check.
just scan the ParamStr(0) as string char by char
Starting at the first occurance of " normaly the first characterst
until the next occurance of " --> this is the Path.
little code:
var str:string;
i,j:integer;
str:=paramStr(0);
for i:=1 to length(str) do
if str[i]='"' then break;
for j:=i+1 to length(str) do
if str[j]='"' then break;
Path:=midstr(str,i+1,j-i-1);
Best Regards
Ture
|