Jump to content

Run a program in subdir?


jslegers
 Share

Recommended Posts

Hello,

 

I have made the following script :

#include <MsgBoxConstants.au3>

If @ProcessorArch = "X86" Then
        MsgBox($MB_OK, "Tutorial", "32 Bit")
        Run("tc86\calc.exe", "")
Else
        MsgBox($MB_OK, "Tutorial", "64 Bit")
        Run("tc64\notepad.exe", "")
EndIf

I can't get in this case notepad run from the subdirectory tc64. I have also tried .\tc64\notepad.exe and ..\tc64\notepad.exe no luck with both.

 

What am I doing wrong ?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...