Jump to content

Windows Run Bug


Recommended Posts

I discovered a strange bug in the Run command.

Example:

No problem

Run("C:\Program files\WinRAR\WinRAR.exe")

Sometimes do not work

$wrar="C:\Program files\WinRAR\WinRAR.exe"

Run($wrar)

If I add an extra quote then it"s working, but some command do not recognise the path (e.g. FileExists)

$wrar='"C:\Program files\WinRAR\WinRAR.exe"'

I don't know what cause this bug, but it's annoying.

Link to comment
Share on other sites

  • Developers

Sometimes is a very vague description. Your example either works or it doesn't, so give us an exact example that fails always.

Jos :D

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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