Computer Hope

Microsoft => Microsoft DOS => Topic started by: wyerdl on May 07, 2004, 05:08:01 AM

Title: Executing bat on server2 via server1 from PC
Post by: wyerdl on May 07, 2004, 05:08:01 AM
I need to give users the ability to execute a batch file on a remote server.  Server1 is publicly accessed while Server2 is secured and can only be accessed by Server1.  I created copy .bat files on server1 that copy files from folder to folder on server2 but when executing from PC it looks for the I: drive referenced in the server1 bat file on the PC instead of server1.  Is there a work around?
Title: Re: Executing bat on server2 via server1 from PC
Post by: CameronY on May 19, 2006, 08:14:22 AM
Perhaps this link might be of some use...

http://dostips.cmdtips.com/DtCodeSnippets.php#_Toc133425574