How do you call multiple files from command line i

2019-06-20 09:33发布

I'm adding a Context Menu Item to the windows registry so when I click on a file I can call my application and have that file be set to my application as an arg. But how can I do this with to have multiple files be send to my application (all the files I have selected)?

right now I have the command as:

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

But this seems to call in each file separately. what's the command to throw in all the files that I have selected?

1条回答
贪生不怕死
2楼-- · 2019-06-20 10:05

Use "%*" to pass all the elements from the command line to another app.

查看更多
登录 后发表回答