我想把U盘中的所有文件夹下的EXE文件创建快捷方式到指定地方,用批处理怎么办?

如题所述

给你一个样文
批处理桌面创建快捷方式EXE型S bat
echo off & cls
echo create_shortcut
start wscript -e:vbs "%~f0"
Exit S
End S Set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
set oShellLink = WshShell.CreateShortcut(strDesktop & "\QQ.lnk")
oShellLink.TargetPath = "d:\QQ\QQ.exe"
oShellLink.WindowStyle = 3
oShellLink.Hotkey = "Ctrl+Alt+e"
oShellLink.IconLocation = "d:\QQ\QQ.exe, 0"
oShellLink.Description = "快捷方式"
oShellLink.WorkingDirectory = "d:\QQ"
oShellLink.Save
温馨提示:内容为网友见解,仅供参考
第1个回答  2014-02-16
dnf男格斗武极PK怎么加点好。
相似回答