set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
set oShellLink = WshShell.createShortcut(strDesktop &"\Dik Regedit.lnk")
oShellLink.TargetPath = "C:\Windows\regedit.exe"
oShellLink.WindowStyle = 1
oShellLink.Hotkey = "CTRL+SHIFT+F"
oShellLink.IconLocation = "C:\Windows\regedit.exe, 0"
oShellLink.Description = "Shortcut Script"
oShellLink.WorkingDirectory = strDesktop
oShellLink.Save
Label
- Adekdik Software (1)
- Aplikasi Iseng (16)
- C++ (7)
- Download (2)
- Excel (1)
- Google Map (1)
- Iseng (1)
- Nambah ilmu (32)
- Pascal (20)
- Super Iseng (2)
- VB .Net (21)
- VB 6 (1)
Rabu, 29 April 2009
contoh vb script untuk membuat shortcut
Label: VB 6
Langganan:
Posting Komentar (Atom)
2 komentar:
Simpan dengan extensi 'vbs'..
Hi Iam Prabhu from chennai,joined today in this forum... :)
Posting Komentar