Jump to content

Recommended Posts

Posted

I'm getting an error:  The filename, directory name, or volume label syntax is incorrect.  when I run my script  The exe is located in two folders, for example C:\Project\Example\ExampleSetup.exe

my code:

Run(@ScriptDir & "\ExampleSetup.exe")

I need to understand what the error message mean and how to fix it.  Is there anyone else who has this issue.

 

 

  • Moderators
Posted

Moved the thread to the appropriate forum, as the DEV forum clearly states:

Quote

Do not create AutoIt-related topics here, use AutoIt General Help and Support 

As for your issue, @ScriptDir is the directory where the script resides. Does your script sit in C:\Project\Example?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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...