Jump to content
Sign in to follow this  

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

Recommended Posts



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")


However all of these however I can launch them directly from "run" within Windows..


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.