bat文件运行在命令提示符下的.exe [英] Bat file to run a .exe at the command prompt

查看:125
本文介绍了bat文件运行在命令提示符下的.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个.bat文件,所以我只需点击它,使其能够运行:

I want to create a .bat file so I can just click on it so it can run:

svcutil.exe /language:cs /out:generatedProxy.cs /config:app.config http://localhost:8000/ServiceModelSamples/service

有人可以帮助我的.bat文件的结构?

Can someone help me with the structure of the .bat file?

推荐答案

要启动程序,然后关闭命令提示符,而无需等待程序退出:

To start a program and then close command prompt without waiting for program to exit:

start /d "path" file.exe

这篇关于bat文件运行在命令提示符下的.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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