home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / protocol / nfs / 2984 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.2 KB  |  36 lines

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