FastOneBaz
IS-IT--Management
Hi All
Am having trouble getting my Wisescript to remove desktop shortcuts.
The script is simple, just installs a bunch of files to particular folder structure and part of its job is to remove 2 old desktop shortcuts.
The DESKTOP variable is created by searching the registry and I can tell from a Message Box in the code that it takes the correct value.
I have 2 desktop shortcuts I need to remove and am using the code:
Delete File(s) %DESKTOPDIR%\MyShortcut.Ink
This code in is the same loop (If system has Windows 95 shell interface...) that the DESKTOP variable is defined in.
But it won't work!!
Anybody offer any tips?
thanks
Baz
Am having trouble getting my Wisescript to remove desktop shortcuts.
The script is simple, just installs a bunch of files to particular folder structure and part of its job is to remove 2 old desktop shortcuts.
The DESKTOP variable is created by searching the registry and I can tell from a Message Box in the code that it takes the correct value.
I have 2 desktop shortcuts I need to remove and am using the code:
Delete File(s) %DESKTOPDIR%\MyShortcut.Ink
This code in is the same loop (If system has Windows 95 shell interface...) that the DESKTOP variable is defined in.
But it won't work!!
Anybody offer any tips?
thanks
Baz