批处理文件中的输出参数 [英] output parameter in batch file

查看:82
本文介绍了批处理文件中的输出参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好;

我想问一个有关批处理文件返回结果的问题.

我是否有机会定义输出参数或类似的东西? 是怎么回事? :confused:

从现在开始感谢.

Hi all;

I wanna ask a question about returning result with a batch file.

Do I have chance to define an output parameter or something like that; or what''s the way? :confused:

Thanks from now on.

推荐答案

您好

U可以在批处理文件中传递输出参数.
以下是我的批处理文件(BatchFile.bat).

Hi

U can pass output parameter in a batch file.
the below is my batch file(BatchFile.bat).

START /d "C:\Program Files\" StkView.exe % 19



.exe%之后的内容是输出参数数据.(即19)

问候,
帕万.



the content after .exe % is output parameter data.(ie 19)

Regards,
Pawan.


这篇关于批处理文件中的输出参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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