本文介绍了将文本文件从一台服务器复制到另一台服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友, 我有两个服务器,让我们说A和B. 每日文本文件将在上午7:30上午更新并存储在服务器A中...和 现在我需要将这些服务器A文本文件自动复制到服务器B. 注意:它应自动在上午8:00 AM之前从服务器A复制到服务器B. 请谁能帮助我.
Dear Friends, I have Two SERVERS, Let us say A and B. Daily Textfiles will be updated and stored in Server A at morning 7:30 Am... and now i need to copy these Server A text file to SERVER B Automatically. Note : Automatically It should Copy from SERVER A to SERVER B before Morning 8:00 AM. Please can anyone help me.
推荐答案创建一个批处理文件并使用任务计划程序运行它: www.windowsnetworking/articles_tutorials/Working-Windows- Server-2008-Task-Scheduler-Part1.html [ ^ ] Create a batch file and run it with the task scheduler : www.windowsnetworking/articles_tutorials/Working-Windows-Server-2008-Task-Scheduler-Part1.html[^]
本文可帮助您每隔"X"小时运行一次批处理文件 www.windowsitpro/article/configuration/how-can-i-configure-a-program-batch-file-to-run-every-x-minutes- [ ^ ] 以下脚本使用x和z将驱动器映射到两台计算机. 首先检查连接,如果找到,则将其删除,然后映射驱动器-如果需要密码,则提示将询问用于连接机器的用户名和密码,脚本将复制文件,然后删除映射的驱动器. 如果您需要自动执行用户名和密码,请使用: This article help you to run batch file for every ''X'' hours once www.windowsitpro/article/configuration/how-can-i-configure-a-program-batch-file-to-run-every-x-minutes-[^] The following script maps a drive to both machines using x and z. First checks for a connection and if found removes, maps the drive - if there is a password needed a prompt will ask for a username and password for the machine to connect with, the script will copy the file then remove the mapped drive. If you need to automate the username and password use: net use x: \\172.25.0.71\c
/user:domainorcomputername \ username密码|用户密码 这是脚本: @回声关闭 如果存在x:(net use x:/delete) 如果存在z:(net use z:/delete) 净使用x:\\ 172.25.0.71 \ c /user:domainorcomputername\username password | theuserpassword Here is the script: @echo off if exist x: (net use x: /delete) if exist z: (net use z: /delete) net use x: \\172.25.0.71\c
更多推荐
将文本文件从一台服务器复制到另一台服务器
发布评论