Page 1 of 1 1
Topic Options
#39251 - 2003-04-16 11:17 AM How to NFSNET command : Mount UNIX Drive
Chris Meyer Offline
Fresh Scripter

Registered: 2003-04-16
Posts: 18
Loc: Mozambique
Hi Everyone,

I am converting our old DOS Batch Login script to Kixtart Sripts and was doing well with all the examples online...Thanks alot [Smile]

Till I had to map a drive to a UNIX Server (no Samba Here) where we have reflections-x installed on a local PC. The PC has a dos command called NFSNET which is used to logon to the UNIX Box & map unix drive\shares

Here are the 2 pri dos commands. () Shows Help Info
(Command Task Servername Username password)
NFSNET logon server username password
(Command Task drive servername share)
NFSNET use M: \\server\share\mmi_cli > nul

My Q...How could I do this in KIXTART Script?

[ 16. April 2003, 13:30: Message edited by: Howard Bullock ]
_________________________
Chris Meyer <img border=0 title= alt=[Razz] src=tongue.gif /]

Top
#39252 - 2003-04-16 11:36 AM Re: How to NFSNET command : Mount UNIX Drive
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
You cannot do this with KiXtart intrinsics, you will have to execute the external command.

Check out the manual and the FAQ forum for details on "Shell" and "Run".

Top
#39253 - 2003-04-16 06:30 PM Re: How to NFSNET command : Mount UNIX Drive
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
code:
SHELL '%COMSPEC% /c NFSNET logon server username password >NUL'
SHELL '%COMSPEC% /c NFSNET USE M: \\server\share\mmi_cli >NUL'

However, check whether this will work under Windows 9x/NT as these clients do not support deep mapping via the regular NET USE.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1110 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.051 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org