Re: [foxboro] Simple UNIX tasks on a Windows platform

Joe,

Try the following:

On your windows machine click start -> run and run a DOS box with cmd
You will most likely end up in c:\documents and settings\fox
Enter D: to go to the D: drive
You'll get the D:\> prompt.
Then type sh to start a korn-shell
You'll get the '$' prompt

Go to the directory where you would normally locate your icc scripts.

You can create the following simple script with vi:

rm LOG.icc
/opt/fox/ciocfg/api/iccdrvr.tsk -i $1.icc -o LOG.icc

Save this simply as 'icc' (vi command :wq icc)

Create your icc script (for example:)

OPEN AW7001 ALL DUMMY
ADD 302_PC283:302PV283
  TYPE = AOUT
  DESCRP = T23 BYPASS
END
CLOSE
EXIT

Save this to something like AddPC283.icc

Then type: icc AddPC283

A LOG.icc file will be created which you can review to check the results.
Check for FAIL to find errors.

Works on AW7001 and terminal server!

Regards,

Pat


 
 
_______________________________________________________________________
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:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: