I have written a script to convert images with DirectXTex. I use %* in the command inside the script to handle however many files I pass to it by directly dragging multiple files onto it directly. It opens and handles all files in a single instance if I do it this way. I want to integrate this command into my context menu, I have done this but I cannot use %* for the command in the registry so I am using %1. If I use this, it will handle all files selected, but a separate instance is opened for each file passed to the script. How can I structure the command in the registry to handle all files passed to it in a single instance? I have tried multiple other wildcards for the command but none have had the desired effect.
Asked
Active
Viewed 71 times
0
Mr. Mendelli
- 1,259

but I cannot use %* for the command in the registrypeople use"%1" %*in the file association all the time without problem: Associate a File Type with a Specific Program, Best way to get file type association in Windows 10 from command line? – phuclv Jun 30 '23 at 18:28