1.

Solve : Batch command to log on to a mac?

Answer»

I have a batch file that xcopies data across my home LAN from one hard drive to another for back up purposes.  It works fine between the PCs, but the addition of a Mac recently is CAUSING me a problem.  It is probaly not because its a Mac but Apple insist on shared drives being password protected.  So from time to time the Mac insists on a username and password.  If I LOG in from Windows giving the password and then run the batch file it works.  If I just run the batch file sometimes it FAILS because it cannot cope with the login need.  Can I add a line to the batch file that connects me to the Mac either every time or when needed?  I have scoured through various permutaions of 'net USE' and 'net logon' to no avail.  Any suggestions gratefully received.



Discussion

No Comment Found