Jump to content
Sign in to follow this  
SSJoco

Windows Run Bug

Recommended Posts

SSJoco

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.

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  

×