当我尝试运行通过运行“激活器dist”命令创建的bat文件时,出现以下异常。 Oops, cannot start the server.
com.google.inject.CreationException: Unable to create injector, see the followin
g errors:
1) Error injecting cons
我的情况下,当启动目录的Windows批处理文件类似的问题(除非以后有什么提): Windows batch file starting directory when 'run as admin' 简介: 我有一个批处理文件,它位于一个目录中,并且必须从那里运行,因为它更新了此目录中的文件。 有什么办法仍然能够知道从哪个目录下的批处理文件运行(当它以管理员身份运行)? 我不希望用户手动输入目录。
我已经为我的应用程序一起更新了更新程序,以便具有很少或没有编码技能的人员可以在自己的计算机上安装,运行和更新应用程序。 下面是一个更新的例子,对于Windows命令提示符写: @echo off
for /f %%i in ('call git status --porcelain') do set stash=%%i
if not [%stash%] == [] (
echo Sta