home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.nfs
- Path: sparky!uunet!mcsun!ub4b!sunbim!usenet
- From: fr@eagle.mumath (Farid Rahmi)
- Subject: WinBatch and PCNFS
- Message-ID: <1992Dec17.161838.2350@sunbim.be>
- Sender: usenet@sunbim.be (user news)
- Reply-To: fr@eagle.mumath
- Organization: BIM nv
- Date: Thu, 17 Dec 92 16:18:38 GMT
- Lines: 24
-
- In article 1g8e7jINNdo2@seven-up.East.Sun.COM, geoff@tyger.Eng.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) writes:
- >#Does any of the NFS implementations for PC, support an API to mount an UNIX
- >#file system to a DOS/Windows workstation?.
- >#
- >The easiest approach under Windows is simply to invoke the standard
- >WNetAddConnection() API (see the Windows SDK doc for details).
-
- WinBatch allows non-programmers (like me:-) to acces those routines from a batch
- environment. Unfortunately, this does not seem to work :
-
-
- WNetAddConnection(LPSTR lpszLocalNetpath,LPSTR lpszPassword, LPSTR lpszLocalName).
-
- Yet, WNetAddConnection(ap1:/pcnfs/ap1.ma,,G) fails. Adding the password of the
- user logged in does not help.
-
-
- Same batch - with adapted host data - seems to work under LanMan. Also, I don't
- see how to pass PCNFS-specific parameters (like /ms), or rather were all this is
- documented (I have a copy of the PCNFS PTK 4.0).
-
-
- Farid
-
-