工业机械然后运行这个BAT文献
发布日期:2024-05-03 18:34 点击次数:117
1.复制底下红色分割线中间现实到记事本工业机械,修改文献名为xxx.bat
2.装配IDM,然后运行这个BAT文献,选拔1
3.设命名字,
山东嘉合塑胶制品有限公司回车
4.激活成功~HAPPY~!
图片
=======================驱动代码分割线=============================
@setlocal DisableDelayedExpansion
@echo off
:: Add custom name in IDM license info,
抚顺杨氏烛业有限公司工业机械 prefer to write it in English and/or numeric in below line after = sign,
温州拓欧进出口有限公司
set name=
::========================================================================================================================================
:: Re-launch the script with x64 process if it was initiated by x86 process on x64 bit Windows
:: or with ARM64 process if it was initiated by x86/ARM32 process on ARM64 Windows
if exist %SystemRoot%\Sysnative\cmd.exe (
set '_cmdf=%~f0'
setlocal EnableDelayedExpansion
start %SystemRoot%\Sysnative\cmd.exe /c ''!_cmdf!' %*'
exit /b
)
:: Re-launch the script with ARM32 process if it was initiated by x64 process on ARM64 Windows
if exist %SystemRoot%\Windows\SyChpe32\kernel32.dll if exist %SystemRoot%\SysArm32\cmd.exe if %PROCESSOR_ARCHITECTURE%==AMD64 (
set '_cmdf=%~f0'
setlocal EnableDelayedExpansion
start %SystemRoot%\SysArm32\cmd.exe /c ''!_cmdf!' %*'
exit /b
)
:: Set Path variable,首页-云利年物业有限公司 it helps if it is misconfigured in the system
set 'SysPath=%SystemRoot%\System32'
set 'Path=%SysPath%;%SystemRoot%;%SysPath%\Wbem;%SysPath%\WindowsPowerShell\v1.0\'
::========================================================================================================================================
cls
color 07
set _args=
set _elev=
set reset=
set Silent=
宝鸡华美工贸有限责任公司set activate=
set _args=%*
if defined _args set _args=%_args:'=%
if defined _args (
for %%A in (%_args%) do (
if /i '%%A'=='-el' set _elev=1
if /i '%%A'=='/res' set Unattended=1&set activate=&set reset=1
if /i '%%A'=='/act' set Unattended=1&set activate=1&set reset=
if /i '%%A'=='/s' set Unattended=1&set Silent=1
)
)
::========================================================================================================================================
set 'nul=>nul 2>&1'
set '_psc=%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe'
set winbuild=1
for /f 'tokens=6 delims=[]. ' %%G in ('ver') do set winbuild=%%G
call :_colorprep
set 'nceline=echo: &echo ==== ERROR ==== &echo:'
set 'line=________________________________________________________________________________________'
set '_buf={$W=$Host.UI.RawUI.WindowSize;$B=$Host.UI.RawUI.BufferSize;$W.Height=31;$B.Height=300;$Host.UI.RawUI.WindowSize=$W;$Host.UI.RawUI.BufferSize=$B;}'
if defined Silent if not defined activate if not defined reset exit /b
if defined Silent call :begin %nul% & exit /b
:begin
::========================================================================================================================================
if not exist '%_psc%' (
%nceline%
echo Powershell is not installed in the system.
echo Aborting...
goto done2
)
if %winbuild% LSS 7600 (
%nceline%
临沂鲁星搪瓷有限责任公司echo Unsupported OS version Detected.
echo Project is supported only for Windows 7/8/8.1/10/11 and their Server equivalent.
goto done2
)
::========================================================================================================================================
:: Fix for the special characters limitation in path name
:: Thanks to @abbodi1406
set '_work=%~dp0'
if '%_work:~-1%'=='\' set '_work=%_work:~0,
北京普罗斯托国际电气有限公司-1%'
set '_batf=%~f0'
set '_batp=%_batf:'=''%'
set _PSarg='''%~f0''' -el %_args%
set '_appdata=%appdata%'
for /f 'tokens=2*' %%a in ('reg query 'HKCU\Software\DownloadManager' /v ExePath 2^>nul') do call set 'IDMan=%%b'
setlocal EnableDelayedExpansion
::========================================================================================================================================
:: Elevate script as admin and pass arguments and preventing loop
:: Thanks to @abbodi1406 for the powershell method and solving special characters issue in file path name.
%nul% reg query HKU\S-1-5-19 工业机械