Jump to content
Sign in to follow this  

Windows Run Bug

Recommended Posts


I discovered a strange bug in the Run command.


No problem

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

Sometimes do not work

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


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.

Share this post

Link to post
Share on other sites

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

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
Live for the present,
Dream of the future,
Learn from the past.

Share this post

Link to post
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
Sign in to follow this