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

Joe,

You mentioned the command prompt window so I assume that you're not
using a shell window.

Try this short VBscript to create a shell window:

---- begin VBscript ----
'***********************************************************************
' File:      Unix Shell.vbs
' Author:    EAF - 11/21/01
' Revisions:
'
' VBScript file to open a Unix shell on the desktop
'***********************************************************************
Option Explicit

' Error handling
On Error Resume Next

' Initial definitions
Dim WshShell
Set WshShell =3D Wscript.CreateObject("WScript.Shell")

WshShell.Run "d:\nutc\bin\ncenv.cmd && d: && cd \ && sh", 1, False
---- end VBscript ----

Drop a shortcut to this script on the desktop and use it instead of the
command prompt. You'll like it much better.

I don't know how to define the buffer size from within the calling
script, so I have to adjust it in the Properties setting then save it
for all future sessions (or something along that line).

Of course, use at your own risks.

Duc


-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Joseph M. Riccardi
Sent: Tuesday, April 22, 2008 3:12 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Simple UNIX tasks on a Windows platform

Windows folks,
Please help me perform some previously simple UNIX tasks on a this
Windows
platform...

I used to run iccdrvr.tsk (ADD/MODIFY blocks) and could view the results
by
scrolling back up the VT100 window or redirecting the output to a log
file.
I need to review for errors, etc.  I cannot seem to figure out a way to
do
it on the Windows platform.  I tried to redirect the output to a log
file;
that did not work.  I tried to increase the size of the command prompt
window (buffer size =3D 999 and number of buffers =3D 999); and that did =
not
work. =20

Any other suggestions?


Joseph M. Riccardi, Inc.
DCS Services - Industrial Process Control
=20
Joe@xxxxxxxxxxxxx
=20
"To give real service you must add something that cannot be bought or
measured with money; and that is sincerity and integrity." - Donald A.
Adams
=20


=20
 
 
_______________________________________________________________________
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: