whisht

    十年

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

@echo off


copy config.xml  "%USERPROFILE%\桌面\"


rem 创建快捷方式Windows7 判断操作系统
if "%OS%" == "Windows_NT" goto sys7
if exist "%USERPROFILE%\「开始」菜单\程序\系统" goto okStartDIR
md "%USERPROFILE%\「开始」菜单\程序\系统"
:okStartDIR
shortcut.exe -f -n "%USERPROFILE%\「开始」菜单\程序\系统\系统.exe.lnk"" -t "%~dp0\ext\MEC.exe" -d "%~dp0\ext"
shortcut.exe -f -n "%USERPROFILE%\桌面\系统.exe.lnk"" -t "%~dp0\ext\MEC.exe" -d "%~dp0\ext"
:okShortcut


:sys7
if exist "%USERPROFILE%\「开始」菜单\程序\系统" goto okStartDIR7
md "%USERPROFILE%\「开始」菜单\程序\系统"
:okStartDIR7
shortcut.exe -f -n "%USERPROFILE%\「开始」菜单\程序\系统\系统.exe.lnk"" -t "%~dp0\ext\MEC.exe" -d "%~dp0\ext"
shortcut.exe -f -n "%USERPROFILE%\Desktop\系统.exe.lnk"" -t "%~dp0\ext\MEC.exe" -d "%~dp0\ext"
:okShortcut7
posted on 2012-11-01 16:30  WHISHT  阅读(304)  评论(0编辑  收藏  举报