06-21-2010, 10:43 AM
This works fine at my side, but I doubt in your query. if you are searching in startmenu winzip shortcut must be in 'startmenu\programs\winzip'
may be you can try replacing "." with the exact computer name, see if it works,
I just noticed that we are going on a longer and bit complex raod, however it can be done in a very simple way.
see the code below
let me know if this helps.
may be you can try replacing "." with the exact computer name, see if it works,
I just noticed that we are going on a longer and bit complex raod, however it can be done in a very simple way.
see the code below
Code:
Set objFSO1 = CreateObject("Scripting.FileSystemObject")
If objFSO1.FileExists("C:\Documents and Settings\All Users\Start Menu\Programs\WinZip\WinZip.lnk") Then
msgbox true
End If
let me know if this helps.