Hi, I wrote a script that processes files you select from the shell. Drag a box around files, right click, select Process Files from context menu. The program uses CMDLINERAW to take in the arguments passed by the shell. This is running the program properly and passing the files selected as arguments to the program. The problem is that it runs a separate instance of the program for everyfile in the selection. The keys I wound up with are: HKEY_CLASSES_ROOT/*/SHELL/MYKEY/ (Default)--- Reg_SZ--- Optimise FilesIcon -------Reg_SZ--- C:\Scripts\myicon.icoPosition-----Reg_SZ--- MiddleHKEY_CLASSES_ROOT/*/SHELL/MYKEY/COMMAND (Default)----Reg_SZ----C:\Scripts\myprogram.exe %1So if I drag a box around three files, right click selection and left click Optimise Files then I get three instances of the program run with single file in each, instead of a single instance with three files in it. What I need is for it to pass all the files as arguments to a single instance of the program. Can anyone help with this?