分配的满了,能压的就压了, 每次运行都要解压,所以做了个批处理。 因为学校的电脑有还原系统的,重启后东西都会不见。
if exist "%userprofile%\NJStar Communicator" goto :yes
goto :no
:yes
echo yes
start "" "%userprofile%\NJStar Communicator\Njcom32.exe"
goto :end
:no
echo no
h:\My\gre\7z\App\7-Zip\7z.exe x -o%userprofile% "H:\My\gre\zip\NJStar Communicator.7z"
start "" "%userprofile%\NJStar Communicator\Njcom32.exe"
:end
::pause
if exist "%userprofile%\NJStar Communicator" goto :yes
goto :no
:yes
echo yes
start "" "%userprofile%\NJStar Communicator\Njcom32.exe"
goto :end
:no
echo no
h:\My\gre\7z\App\7-Zip\7z.exe x -o%userprofile% "H:\My\gre\zip\NJStar Communicator.7z"
start "" "%userprofile%\NJStar Communicator\Njcom32.exe"
:end
::pause
没有评论:
发表评论