Hi,
I need a vbs script opening DOpus in a predefined folder .
The following code works fine and opens c:\programs :
Shell "explorer c:\programs"
However, I want to open the folder in DOpus , not Windows Explorer!
Putting in dopus.exe instead of explorer ends up in DOpus opening in the root directory (c:), i.e. ignoring the parameter.
Thanx and best regards
Jens
Leo
September 17, 2006, 1:13pm
2
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /Open "C:\programs"
Hi nudel,
thanks, that helped.
However, I had to take out the two quotation marks in the middle to make it work. I now have:
Shell "C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe /Open C:\programs"
Thanks again
Jens
Leo
September 17, 2006, 4:27pm
4
I would keep the quotes in to avoid problems. In VBScript you can use two double-quotes to get quotes inside a string (itself in double-quotes, obviously):
Shell """C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe"" /Open ""C:\programs"""
Right I've done it that way now. Thanks for your advice.
Regards
Jens