reboot after you change your path. what windows OS are you using ?

> -----Original Message-----
> From: HENRY,MARK (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 08, 2003 1:40 PM
> To: 'Dan Muey'; HENRY,MARK (HP-Roseville,ex1); [EMAIL PROTECTED]
> Subject: RE: forcing use of shell command over external cmd
> 
> 
> Dan & Kipp,
> 
> Thanks for the help.
> 
> Dan, looks like that was the thing to do, passing an arg to 
> cmd.  Kipp, I
> tried the path stuff but it wouldn't fly..
> 
> Thanks guys!
> 
> Mark
> 
> > -----Original Message-----
> > From: Dan Muey [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 08, 2003 10:27 AM
> > To: HENRY,MARK (HP-Roseville,ex1); [EMAIL PROTECTED]
> > Subject: RE: forcing use of shell command over external cmd
> > 
> > 
> > Well if it was unix and for some reason there where two 
> > possibilies for the same command I'd use the entire path
> > 
> > $date = `/usr/bin/date +%Y`;
> > 
> > For windows not sure how that would work, maybe
> > 
> > $date = `c:\path/to/cmd.exe date`;
> > 
> > Perhaps, though like I said I'm not sure, I really hate 
> > windows and aviod it every chance I can :) .
> > 
> > 
> > Dan
> > -----Original Message-----
> > From: HENRY,MARK (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, January 08, 2003 12:21 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: forcing use of shell command over external cmd
> > 
> > 
> > Hi All,
> > 
> > On windows, I have a script which calls gets the date from 
> > the system date command (using backticks) , or rather I would 
> > prefer it to.
> > 
> > I have just installed mks toolkit on this machine which has 
> > it's own date command, and now this is the command getting 
> > chosen each time.
> > 
> > How can I get it to use cmd.exe's date command, or more 
> > generally force use of the system shell's commands over an 
> > external program?  
> > 
> > Many thanks,
> > 
> > Mark
> > 
> > -- 
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to