在使用visual studio 2013启动self host webapi时候碰到下面的错误: 详细错误信息如下: HTTP could not register URL http://+:86/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details 大概意思是和安全相关的问题, 可以按照http:/
https://stackoverflow.com/questions/672693/windows-batch-file-starting-directory-when-run-as-admin Better than cd is pushd which will change drive letter if starting from D:\... assign a drive letter if on a UNC network path So pushd %~dp0 is good. G