Re: [foxboro] running batch file from menu

  • From: Maurice Moshe <MauriceM@xxxxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Thu, 21 Mar 2002 19:33:12 +0200

Yes. startp is the answer.
Thank you all for the global effort to solve this problem.
maurice

> -----Original Message-----
> From: PMcDermott@xxxxxxxx [SMTP:PMcDermott@xxxxxxxx]
> Sent: Thu, March 21, 2002 7:17 PM
> To:   foxboro@xxxxxxxxxxxxx
> Subject:      Re: [foxboro] running batch file from menu
> 
> 
> 
> I use the startp command to give me the most options when starting the
> batch file or application, for example:
> 
>      run d:\usr\fox\system32\startp /c /D"c:\winnt\profiles\fox\personal"
> "C:\winnt\system32\cmd.EXE"
> 
> or
> 
>      run d:\usr\fox\system32\startp "d:\usr\pat\doit.bat"
> 
> If you want to run a .ksh script file, you need to run ncenv.cmd to set up
> the environment variables before calling the script.  One way to do this
> is
> to create a .bat file which then calls the .ksh file, as:
> 
> doit.bat:
> 
>      echo off
>      call d:\nutc\bin\ncenv.cmd
>      call d:\nutc\mksnt\sh.exe -i {script name}.ksh [arguments]
> 
> You can also execute ncenv.cmd and sh.exe from the startp command line but
> I cannot remember off hand how to do it (I am not in my office so I don't
> have my documentation handy).
> 
> Patrick McDermott
> Principal Engineer
> Hercules Incorporated
> Hercules Plaza
> Wilmington, DE 19894
> 302-594-7607
> pmcdermott@xxxxxxxx
> 
>  
>  
> _______________________________________________________________________
> This mailing list is neither sponsored nor endorsed by Invensys Process
> Systems (formerly The Foxboro Company). Use the info you obtain here at
> your own risks. Read http://www.thecassandraproject.org/disclaimer.html
>  
> foxboro mailing list:             //www.freelists.org/list/foxboro
> to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
> to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
>  
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: