To complete these procedures, you must be a member of the Administrators group. To start a command prompt as an administrator Click Start, click All Programs, and then click Accessories. Right-click Command prompt, and then click Run as administrator
windows7“以管理员身份运行”bat提示“系统找不到指定的路径.” 使用批处理安装服务,直接双击运行没有权限,右键“以管理员身份运行”却提示“系统找不到指定的路径.”,反复查看路径是正确的. 打印当前目录调试 ECHO %CD% 发现在“以管理员身份运行”时当前路径是C:\Windows\System32,找不到文件时因为当前路径不对.网上搜得方法一枚,在批处理前面加上: REM when run as admin, into the current directory. cd /d %~