Shell "start" with value

Michael dweeble at wi.rr.com
Wed Jul 27 05:50:27 EDT 2005


Thanks for the reply,
Hey gave this a try, and tried some variations of it and still what I
get is, windows cannot find IPLoc , thinks its and executable.
I removed the location string and put the executable (setx.exe) in a
path folder. Should have just said the commmand I'm trying to run from
the command line is:
"setx IPLoc tIPadd -m"
IPLoc is just a descriptive word to represent the IP location and tIPadd
is the string with the captured ip address in it. 
The environment result from runnng set at the cmd window would look: 
IPLoc=192.168.1.1
 
Thanks 
Michael 
On Tue, 2005-07-26 at 06:47 +0200, MisterX wrote:
> 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
> > 
> 
> _______________________________________________
> 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