How do you call multiple files from the command line in your application?

I add a context menu item to the Windows registry, so when I click on a file, I can call my application and set this file as an application. But how can I do this to send multiple files to my application (all the files that I selected)?

right now i have a command like:

"C:/test.dll" "%1" 

But this seems to cause each file separately. What command do you drop into all the files that I have selected?

+6
source share
1 answer

Use "% *" to transfer all items from the command line to another application.

0
source

Source: https://habr.com/ru/post/915924/


All Articles