上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: Quote from: http://ss64.com/nt/syntax-args.htmlParametersA parameter (or argument) is any value passed into a batch script:C:> MyScript.cmd January 1234 "Some value"Parameters may also be passed to a subroutine with CALL:CALL :my_sub 2468You can get the value of any parameter using a % 阅读全文
posted @ 2014-02-25 16:13 細水長流 阅读(564) 评论(0) 推荐(0) 编辑
摘要: Quote from:http://ss64.com/nt/setlocal.htmlSETLOCALSet options to control the visibility of environment variables in a batch file.Syntax SETLOCAL SETLOCAL EnableDelayedExpansion SETLOCAL EnableExtensions SETLOCAL DisableExtensions SETLOCAL EnableExtensions EnableDelayedExpan... 阅读全文
posted @ 2014-02-25 14:10 細水長流 阅读(781) 评论(0) 推荐(0) 编辑
摘要: Quote from:http://ss64.com/nt/rd.htmlRDDelete folder(s)Syntax RD pathname RD /S pathname RD /S /Q pathname Key /S : Delete all files and subfolders in addition to the folder itself. Use this to remove an entire folder tree. /Q : Quiet - do not display YN confir... 阅读全文
posted @ 2014-02-24 17:32 細水長流 阅读(240) 评论(0) 推荐(0) 编辑
摘要: devenv是VisualStudio的可执行程序,一般安装在“C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE”下。这个路径下有两个 devenv 文件,devenv.com 和 devenv.exe。其中devenv.com是命令行程序,也就是用命令行运行 VisualStudio,编译结果会直接输出到命令行窗口上。devenv.exe是GUI的程序。当调用devenv的时候,默认启动devenv.com,除非显示地调用devenv.exe才会启动GUI的VisualStudio。devenv.com 的命令举例 阅读全文
posted @ 2014-02-22 17:46 細水長流 阅读(11953) 评论(0) 推荐(0) 编辑
摘要: 用 DEVENV 在命令行编译 .sln 工程时,出现以下错误:--------------------------------------------------------------------------------Setting environment for using Microsoft Visual Studio 2010 x86 tools.EXEC : error : Cannot determine the location of the VS Common Tools folder.-------------------------------------------- 阅读全文
posted @ 2014-02-22 17:09 細水長流 阅读(4035) 评论(0) 推荐(0) 编辑
摘要: 使用命令行 DEVENV 编译c# 工程,C:\MyProject>DEVENV "MyProject.sln" /build Release /useenv'DEVENV' is not recognized as an internal or external command,operable program or batch file.在命令行使用 DEVENV,需要首先将DEVENV 所在的路径加入环境变量中。@REM Win7 Operating SystemC:\MyProject>set PATH=C:\Program Files 阅读全文
posted @ 2014-02-22 16:21 細水長流 阅读(2077) 评论(0) 推荐(0) 编辑
摘要: 如何改变 Visual Studio 的默认环境设置:1. 工具栏 Tools --> Import and Export Settings...2. 选择 Reset All Settings,单击 “Next”3. 选择保存设置的选项,单击“Next”4. 选择想要设定的编程环境,点击“Finish”。参考链接:http://stackoverflow.com/questions/12084958/changing-default-enviromnent-setting-when-starting-visual-studio-2010 阅读全文
posted @ 2014-02-22 15:06 細水長流 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 用VS2010 编译 C#工程,出现Cryptographic failure while signing assembly 'Assembly.dll' -- 'Unknown error (8013141c)'解决方案:1. 浏览至如下路径:XP: %SystemDrive%\Documents and Settings\AllUsers\ApplicationData\Microsoft\Crypto\RSA\MachineKeysWin7: %SystemDrive%\ProgramData\Microsoft\Crypto\RSA\MachineKey 阅读全文
posted @ 2014-02-22 14:00 細水長流 阅读(440) 评论(0) 推荐(0) 编辑
摘要: Quote from:http://pcsupport.about.com/od/commandlinereference/p/xcopy-command.htmThe xcopycommandis aCommand Prompt commandused to copy one or more files and/or folders from one location to another location.The xcopy command is also aDOS commandavailable in MS-DOS.The xcopy command, with its many op 阅读全文
posted @ 2014-02-20 13:31 細水長流 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 用 XCOPY 拷贝文件,出现 “Access denied” 提示信息。原因:在如上拷贝的目标路径下,存在 ReadMe.txt, 并且是 只读 文件,这种情况下,需要增加一个 拷贝选项:/R 使用这个参数去覆盖 只读 文件。如果要在目标路径下覆盖 只读文件,不使用这个选项就会提示 “Access denied” 的信息,XCOPY拷贝命令就会终止运行。/Y 如果在目标路径下已经存在要复制的源文件,使用这个选项会阻止 XCOPY 命令行弹出 是否要覆盖文件 的信息提示。参考资料:http://pcsupport.about.com/od/commandlinereference/p/xcop 阅读全文
posted @ 2014-02-20 13:28 細水長流 阅读(1412) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 下一页