Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass a lista of files as parameter

Status
Not open for further replies.

l30

Programmer
Apr 18, 2004
1
0
0
BR
I have added an entry ro win Explorer menu to pass the file clicked on as parameter to my aplication (something like:
"c:\myapp.exe %1" but i want to pass more than on file, i select more than one, click w/ the right button and select my option and windows shows a dialog saying that this action can
make my computer slow, cause it will open many files same time... how can I send and manege ALL files correctly?
here is the code:
Code:
RootKey := HKEY_CLASSES_ROOT;
WriteString('.ext', '', 'ext');
WriteString('EXT', '', 'EXT Files');
WriteString('EXT\Shell', '', '');
WriteString('EXT\Shell\APP_EXT', '','MyAction');
WriteString('EXT\Shell\APP_EXT\command','',ParamStr(0)+'"%1"');
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top