Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Call another .bat on Win2K  (Read 3076 times)

0 Members and 1 Guest are viewing this topic.

Serg

  • Guest
Call another .bat on Win2K
« on: November 11, 2004, 10:11:05 AM »
call \\pc1\folder\test2.bat

Result:
Logon failure: unknown user name or bad password.

How to send a username and password for

JoeGeezer

  • Guest
Re: Call another .bat on Win2K
« Reply #1 on: November 11, 2004, 08:19:02 PM »
The error you posted says you aren't authenticating to the \\PC1\VALIDSHARE  with a valid username and password.  

Maybe this will help you?   You didn't say what OS(s) these 2 systems are running...  hmmm  If it's a flavor of Windoze why not run a straight bat file starting with a NET USE command?  That will let you authenticate to the remote system with a username and password, then map a drive.  Then you can run or call or whatever remote bat files you want as you please?
 
Here's a link to how to use Net Services:  http://www.microsoft.com/windowsxp/home/using/productdoc/en/default.asp?url=/WINDOWSXP/home/using/productdoc/en/net_use.asp