您好我需要使用批处理文件在visual studio命令提示符下执行2个命令。
C:\ iwatch \ trunk \ CPCE Client \ InterviewManagementServiceClient> svcutil http://localhost:19021/InterviewManagementService/InterviewManagementService.svc / l:C#/out:Reference.cs /ct:System.Collections.Generic.List`1 / t:code / n: *,iWatch.InterviewManagementService
C:\ iwatch \ trunk \ CPCE Client \ EfileServiceClient> svcutil http://localhost:19012/EfileService/EfileService.svc / l:C#/out:Reference.cs /ct:System.Collections.Generic.List`1 / t:code / n: *,iWatch.EfileService
我想创建一个批处理文件(.bat文件),它将在visual studio命令提示符下执行这两个命令。
答案 0 :(得分:0)
我们可以创建一个批处理(.bat)文件,用于在下面解释的visual studio命令提示符中执行多个命令。
call" C:\ Program Files(x86)\ Microsoft Visual Studio 10.0 \ VC \ vcvarsall.bat"
上面的命令将调用visual studio命令提示符,然后我们必须编写多个命令然后执行它并将此文件保存在.bat文件中。