![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine the Executable File Corresponding to a Shortcut
|
||
strComputer = "."
Set objWMIService = GetObject _ ("winmgmts:\\" & strComputer & "\root\cimv2") Set colFiles = objWMIService.ExecQuery("Select * From Win32_ShortcutFile") For Each objFile in colFiles Wscript.Echo "Name: " & objFile.FileName Wscript.Echo "Shortcut target: " & objFile.Target Wscript.Echo "File name: " & objFile.Description Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |