passing a parameter to executable through shortcut in desktopX

I use Netscape for my email program. Netscape has three components: Browser, HTML Editor, Mail. All three of these are executed through the same netscape.exe file. In Windows start menu the path to the executable in the shortcut looks like
"C:\Program Files\Netscape\netscape.exe" -mail
That would load the mail program. How do I do this in DeskTopX? If I create a shortcut in DesktopX with the path above I get an error. I have to make the path to just netscape.exe which loads the browser and then I have to get to the mail through the browser. Which is annoying.
2,300 views 2 replies
Reply #1 Top
sorry that path is
"C:\Program Files\Netscape\netscape.exe" -mail
not what is posted above
Reply #2 Top
Hm.. DX doesn't let you add parameter to the shortcuts?

Ok, I think it's time for a little script:


Dim oShell
Set oShell = CreateObject("WSCript.shell")
oShell.Run "C:\Program Files\Netscape\netscape.exe -mail"
Set oShell = Nothing


Create a new script for your object and paste this snippet of code.