Sign in to follow this  
Followers 0
Jarv

Having to run a file with its full path...

2 posts in this topic

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

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0