mIRC Home    About    Download    Register    News    Help

Print Thread
#158163 01/09/06 05:45 PM
Joined: Jul 2003
Posts: 16
S
sgt Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Jul 2003
Posts: 16
//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?

#158164 01/09/06 05:51 PM
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
I'm unable to reproduce this.

Also,

Quote:

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


//run -p %sandra


What do you do at the end of the world? Are you busy? Will you save us?
#158165 02/09/06 03:34 AM
Joined: Mar 2004
Posts: 526
Fjord artisan
Offline
Fjord artisan
Joined: Mar 2004
Posts: 526
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.


Help others! It makes the world a better place, Makes you feel good, and makes you Healthy!
#158166 02/09/06 12:56 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
try

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

btk


billythekid
#158167 03/09/06 07:41 PM
Joined: Jul 2003
Posts: 16
S
sgt Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Jul 2003
Posts: 16
//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!

Last edited by sgt; 03/09/06 07:57 PM.
#158168 03/09/06 09:46 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
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.

#158169 04/09/06 03:42 AM
Joined: Dec 2002
Posts: 21
V
Ameglian cow
Offline
Ameglian cow
V
Joined: Dec 2002
Posts: 21
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

Last edited by Vile; 04/09/06 03:43 AM.

Link Copied to Clipboard