C# 为visaul studio命令创建批处理文件

C# 为visaul studio命令创建批处理文件,c#,web-services,visual-studio-2010,wcf,svcutil.exe,C#,Web Services,Visual Studio 2010,Wcf,Svcutil.exe,您好,我有两个命令需要使用批处理文件在visual studio命令提示符中同时执行 C:\iwatch\trunk\CPCE Client\InterviewManagementServiceClient>svcutil/l:C/out:Reference.cs/ct:System.Collections.Generic.List`1/t:code/n:*,iwatch.InterviewManagementService C:\iwatch\trunk\CPCE Client\EfileSe

您好,我有两个命令需要使用批处理文件在visual studio命令提示符中同时执行

C:\iwatch\trunk\CPCE Client\InterviewManagementServiceClient>svcutil/l:C/out:Reference.cs/ct:System.Collections.Generic.List`1/t:code/n:*,iwatch.InterviewManagementService

C:\iwatch\trunk\CPCE Client\EfileServiceClient>svcutil/l:C/out:Reference.cs/ct:System.Collections.Generic.List`1/t:code/n:*,iwatch.EfileService


我想创建一个batch.bat文件,该文件将在visual studio命令提示符中执行这两个命令。

我们可以创建一个batch.bat文件,用于在visual studio命令提示符中执行以下解释的多个命令

调用C:\ProgramFilesx86\Microsoft Visual Studio 10.0\VC\vcvarsall.bat


上面的命令将调用visual studio命令提示符,然后我们必须编写多个命令,然后执行该命令并将此文件保存在.bat文件中。

澄清您在创建文本文件和使用.bat异常保存时遇到的问题可能会有所帮助,但也可能最终将此问题推到主题之外,应该是SU之类的。在目前的状态下肯定不是很清楚。