quote:
You should have specified that you needed a solution for both Win2K and Win9x in the first place.
I did in the very first post for this thread.

quote:
since you don't specify exactly what the link points to, the exact path would be nice to see
As I said, it's a shortcut to a VPN connection, as a result, the properties simply state
Target Location: Network and Dialup Connections
Target: My VPN Connection

quote:
in NT, you need to use the form:
code:
shell '%comspec% /c start "fullpathto\shortcut.lnk"'  


This also does nothing, the script just runs and exits. I've tried messing around with the quotes as you suggested, the best I get is a window with the link as the title (as you predicted). It must be something weird to do with this particular kind of shortcut.

quote:
...in Win9x...
code:
shell 'start "fullpathto\shortcut.lnk"'


This works.

SOLUTION:
I'm going to use the above in Windows 98, and under Windows 2000 it seems I can use
code:
shell '%comspec% /c "rasphone.pbk"'

(I'm going to deploy a custom phone book in the same directory as the script)

Thanks very much for all the help everyone.