zoukankan      html  css  js  c++  java
  • cmd判断操作系统及创建快捷方式,安装包使用

     

    135人阅读 评论(0) 收藏 举报

    @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
  • 相关阅读:
    pickle模块使用
    Graphviz安装教程
    Redis常用命令
    MongoDB和Redis的区别
    UVA-1572
    poj2352
    poj1195
    Codeforces Round #430 (Div. 2)
    Codeforces Round #431 (Div. 2) B. Tell Your World
    poj3278 【BFS】
  • 原文地址:https://www.cnblogs.com/mingyongcheng/p/2990340.html
Copyright © 2011-2022 走看看