Files
bj_power/bj_power_workstation/uninstall_startup_user.bat
T

7 lines
383 B
Batchfile
Raw Normal View History

@echo off
rem 移除工位终端当前用户开机自启快捷方式
chcp 65001 >nul
powershell -NoProfile -Command "Remove-Item -Force ([Environment]::GetFolderPath('Startup') + '\bj_power_workstation.lnk') -ErrorAction SilentlyContinue"
echo [完成] 已移除当前用户开机自启快捷方式(如存在)。正在运行的终端进程不受影响,需手动关闭。
pause