你怎么骂从命令行多个文件到您的应用程序了? [英] how do you call multiple files from command line into your applicaiton?

查看:97
本文介绍了你怎么骂从命令行多个文件到您的应用程序了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加一个上下文菜单项到Windows注册表中,所以当我点击一个文件,我可以打电话给我的应用程序,并让该文件被设置为我作为一个ARG应用。但我怎么能做到这一点与有多个文件被发送到我的应用程序(所有我所选择的文件)

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)?

现在我有命令为:

"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?

推荐答案

使用%*通过所有的元素命令行另一个应用程序。

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

这篇关于你怎么骂从命令行多个文件到您的应用程序了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆