Due to the recent songs, "My Music" is in the disk space, so I think that moving music to another disk, and in the "My Music" folder only reserves the shortcut to these music, so I wrote this script. '********************************************************** ************ '* name:
Set objargs = wscript.arguments set wshshell = wscript.createObject ("wscript.shell")
For i = 0 to objArgs.Count - 1 strShortCut = strDestination & "/" & GetMyFileName (objArgs (i)) & ".lnk" set objShellLink = WshShell.CreateShortcut (strShortCut) objShellLink.TargetPath = objArgs (i) objShellLink.WindowStyle = 1 objshelllink.workingdirectory = left (Objargs (i), INSTRRRREV (Objargs (i), "/")) ObjshellLink.save next msgbox "End", VBOK, "End" else msgbox "Thank you", VBOK, " End "end if
Function GetMyFileName (DriveSpec) Dim fso Set fso = CreateObject ( "Scripting.FileSystemObject") GetMyFileName = fso.GetFileName (DriveSpec) End Function Now, at this point to establish Sendto folder shortcut VBs, and choose a nice icon, you Can send shortcuts like "sending shortcuts to desktop" to any folder!