Shell "start" with value

MisterX b.xavier at internet.lu
Tue Jul 26 00:47:37 EDT 2005


for one, if there is a space in location, this will fail.
You will need to eclose it in quotes.

Second the iploc and tipadd are strings not values in the
quotes.

 get shell ("start" && quote & location & "setx.exe" & quote && IPLoc &&
tIPadd)

should work better

cheers
Xavier
http://monsieurx.com

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael
> Sent: Tuesday, July 26, 2005 06:39
> To: use-revolution at lists.runrev.com
> Subject: Shell "start" with value
> 
> Hello, 
> 
> Have run into something I just seem to not solve and asking 
> if someone may have an answer to this one.
> I'm running the shell command for and environment add and 
> need to add the value with it, but of couse just get IPLOC=tIPadd.
> tIPadd is the value of and ipaddress. 
> Anyone know how I can get this in there, its WinXP so I'm 
> using the setx.exe file to get the environment add global.
>  
> get shell ("start" && location & "setx.exe IPLoc tIPadd")
> 
> Thanks for any help
> Michael
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the use-livecode mailing list