Microsoft
Software
Hardware
Network
Question : copying files from one machine to another
Hi ALL,
We are setting up a DR Server, to browse to directories on the DR server the login dialog box appears each time as i.e. \\MyDRserver\myWork and i have to enter the domain\username and password
I want to create a windows batch file which copies a file from one location to a location on the server, the only problem is i am not sure how it will handle the log in process when the login box appears?
Any ideas would be greatly appreciated.
Thanks
Answer : copying files from one machine to another
I think you need to add this to the batch file:
NET USE [devicename | *] [\\computername\sharename[
\volume] [password | *]]
See this Microsoft article for additional information:
Net use
https://www.microsoft.com/
resources/
documentat
ion/window
s/xp/
all/p
roddocs/en
-us/net_us
e.mspx?mfr
=true
Random Solutions
CLR Stored Procedure
printing a file given the path in windows API
Want to open form when file opens, but getting file/access error 75 message
Exchange 2007 to 2010 upgrade
Vista: can I run a program from a mapped network drive in compatibility mode?
video card driver
How to restrict on categories with recurrent items using VBA in access
active directory, W2k8 R2 DC, Kerberos failures, Event ID: 3, 4771, 4769, 4768, 4776, 4625 source: Microsoft Windows security
Access attaching a file as xls when it should be rtf
insert image via bookmark