VBScript Basics, Part 16 | Create Shortcuts
449 بار بازدید -
7 سال پیش
-
VBScripting (.vbs) Basic tutorial on
VBScripting (.vbs) Basic tutorial on how to create a shortcut. This works with both files and folders, and you can add a description, icon, and even quite a bit more.
Code Example:
______________________________________________________
Option Explicit
Dim obj, nLink
Set obj = CreateObject("wscript.shell")
Set nLink = obj.CreateShortcut("C:\Users\Jeremy\Desktop\newshortcut.lnk")
nLink.TargetPath = "C:\Users\Jeremy\Downloads\Music\Iridescent - Linkin Park.mp3"
nLink.Descript
7 سال پیش
در تاریخ 1396/10/04 منتشر شده
است.
449
بـار بازدید شده