mIRC Homepage
Posted By: sgt mirc 6.2 bug? - 01/09/06 05:45 PM
//echo %sandra
"c:\program files\sisoftware\sisoftware sandra lite 2007.sp1\sandra.exe"

//echo -a $exists(%sandra)
$false

incorrect, the file and path are 100% accurate.

/run -p %sandra
* /run: unable to open '%sandra' / fails to launch

/run -p "c:\program files\sisoftware\sisoftware sandra lite 2007.sp1\sandra.exe"
works correctly

what could be causing this?
Posted By: Jigsy Re: mirc 6.2 bug? - 01/09/06 05:51 PM
I'm unable to reproduce this.

Also,

Quote:

/run -p %sandra
* /run: unable to open '%sandra' / fails to launch


//run -p %sandra
Posted By: HorseC Re: mirc 6.2 bug? - 02/09/06 03:34 AM
may be related to the long file name with blanks in it, but this is just specualtion. since i dont have that path (or one like it) i can not be sure.
Posted By: billythekid Re: mirc 6.2 bug? - 02/09/06 12:56 PM
try

//echo $exists($noqt(%sandra))

btk
Posted By: sgt Re: mirc 6.2 bug? - 03/09/06 07:41 PM
//echo $exists($noqt("C:\Program Files\SiSoftware\SiSoftware Sandra Lite 2007.SP1"))

$true

//echo $exists($noqt("C:\Program Files\SiSoftware\SiSoftware Sandra Lite 2007.SP1\sandra.exe"))

$false

this is making even less sense!
Posted By: DaveC Re: mirc 6.2 bug? - 03/09/06 09:46 PM
Attempt to copy the filename using explorer, can you?
Attempt to move the file using explorer, does it fail?

I have seen this behavour with protected files, there is normally a thread running thats shielding the file from tampering with.
Posted By: Vile Re: mirc 6.2 bug? - 04/09/06 03:42 AM
Maybe cause you're doing /echo %sandra instead of /set %sandra

so all those $exists and /run wont work since the variable is $null

oh, and if your typing the /run in command line you have to make it //run to make it evaluate the variable
© mIRC Discussion Forums