Jump to content

Recommended Posts

Posted

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.

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