09 2012 档案
To open the project created by previous version of Visual Studio
摘要:If you want to open a project (.csproj) file that was created in a previous version of Visual Studio, then you need to run Visual Studio (devenv.exe) from the Visual Studio Command Prompt after providing options toclear all SkipLoading tags.So you can go to Start Menu -> All Programs -> Micros
阅读全文
获取Powershell write-host 的内容
摘要:如果是在powershell script 内部,想要将write-host的内容输入到一个文本文件,可以使用powershell的输出重定向功能,可以使用以下方法重定向输出: - 使用 Out-File cmdlet,该 cmdlet 将命令输出发送至一个文本文件。通常在需要使用 Out-File cmdlet 的参数(例如 Encoding、Force、Width 或 NoClobber 参数)时 使用该 cmdlet。- 使用 Tee-Object cmdlet,该 cmdlet 将命令输出发送至一个文本文件,然后将其发送至 ...
阅读全文
Powershell 转义字符
摘要:Powershell 的转义字符是 ·, 是tab键上面的按键,不是单引号。下表罗列了常用的转义字符。Escape CharacterDescription`’Single quote`”Double quote`0Null`aAlert`bBackspace`fForm feed`nNewline`rCarriage return`tHorizontal tab`vVertical tab
阅读全文