Jump to content

Recommended Posts

Posted

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

Posted

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.

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
×
×
  • Create New...