wint100 Posted August 8, 2006 Posted August 8, 2006 I have a script that is intended to shutdown and access database and a process (ddeserver), then wait 10secs and restart both. The shutting down of the 2 items is sorted, but I can not get them to start again. I need to open a shortcut and the mdb database. I tried fileopen but it did not open them. Nothing seemed to happen in 0,1, or 2. Any ideas?
Bert Posted August 8, 2006 Posted August 8, 2006 Is there a reason to use a shortcut to open it? Just open the file directly The Vollatran project My blog: http://www.vollysinterestingshit.com/
wint100 Posted August 8, 2006 Author Posted August 8, 2006 (edited) Is there a reason to use a shortcut to open it? Just open the file directlyYes it has certain variables used to login to the main application.I also need to open the .mdb. Edited August 8, 2006 by wint100
wint100 Posted August 8, 2006 Author Posted August 8, 2006 What about 'FileGetShortcut()'?Nope, still doesn't load the shortcut
bluebearr Posted August 8, 2006 Posted August 8, 2006 Try using start at a command prompt:run(@ComSpec & ' /c title Launch && start "" "' & @DesktopDir & '\Mozilla FireFox.lnk"', @DesktopDir, @SW_MINIMIZE) BlueBearrOddly enough, this is what I do for fun.
wint100 Posted August 8, 2006 Author Posted August 8, 2006 Try using start at a command prompt: run(@ComSpec & ' /c title Launch && start "" "' & @DesktopDir & '\Mozilla FireFox.lnk"', @DesktopDir, @SW_MINIMIZE) PERFECT! THANKS A LOT!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now