Jump to content

Search the Community

Showing results for tags 'run shellexecute'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. hi guys, What is the difference between run and shellexecute ? I have a program which call another exe file. And it works since many years with run command. $path = "d:\barre.exe" $path &= " Lanceur" ; A parameter for the exe. Run($path, @TempDir, @SW_MAXIMIZE) ; If @error Then consolewrite("erreur de lancement de " & $path & " erreur:" & @error & " @TempDir: " & @TempDir & @CRLF) shellExecute("d:\barre.exe" , "Lanceur") If @error Then consolewrite("erreur de lanceemnt de ShellExecute" & $path & " erreur:" & @error & @CRLF) EndIf endif Today, for only one user, (on near 150 / 200) the program called doesn't start at all. The run command is on error, so i tried with shellexecute and it works well. My main program is launch by many users, it select and find the binary for the second program, copy it on the user computer, and run it locally (d:\barre.exe). It works well since a very long time. Barre.exe is a toolbar, so with a gui. I really don't explain this problem. the folder where is the program is accessible for the user, with full rights, and @tempdir is ok too. Any ideas ? Thanks, Nicolas
×
×
  • Create New...