Jarv Posted August 21, 2009 Share Posted August 21, 2009 Hi, for some reason I dont seem to be able to run EXE files directly within my script For instance - run ("c:\program files\internet explorer\iexplore.exe") works, but - run ("iexplore.exe") dosent. However all of these however I can launch them directly from "run" within Windows.. thanks Link to comment Share on other sites More sharing options...
omikron48 Posted August 21, 2009 Share Posted August 21, 2009 It doesn't work since not defining a path means that Windows will search for the exe from the local folder of the script. you could try using relative path like '..\' or '.\'. Try using ShellExecute. Link to comment Share on other sites More sharing options...
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