Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create a Shortcut For an Executable File That Uses ParametersContent of Create a Shortcut For an Executable File That Uses Parameters.vbsMD5 Hash: 479D4D5A8D2A055ECA082D8E8DDE11BF |
||
Set objShell = CreateObject("Wscript.Shell")
strDesktop = objShell.SpecialFolders("Desktop") Set objShortcut = objShell.CreateShortcut(strDesktop & "\Test.lnk") objShortcut.TargetPath = "Notepad.exe" objShortcut.Arguments = "C:\Scripts\Test.txt" objShortcut.Description = "Starts Notepad with a file already loaded." objShortcut.WorkingDirectory = strDesktop objShortcut.Save | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |