also @ TechSpot: HDD supply to recover by Q3 2012, prices to remain high
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > Software Apps

Collaborate in the cloud with Office, Exchange, SharePoint, and Lync

Save a log file of what a batch files has done

Thread Tools Search this Thread
  #1  
Old 09-22-2009
TechSpot Chancellor
 
Member since: Aug 2005, 693 posts
System specs
Save a log file of what a batch files has done

So I have a batch file setup at work to run some backups once a day off our server. But I would like it to save a log file of what it has done, preferably with a date & maybe a time in the file name. If it just wrote everything that was displayed in the cmd window to a text file I would be happy.

Here is the batch file:
Code:
xcopy /C /E /V /I /Z /Y /D Z:\Signs R:\Public_Backups\Signs

xcopy /C /E /V /I /Z /Y /D Z:\Setup R:\Public_Backups\Setup

xcopy /C /E /V /I /Z /Y /D "Z:\Sets Here" R:\Public_Backups\Sets_Here
(I know not very fancy, but it gets the job done.)

Thanks
  #2  
Old 09-22-2009
TechSpot Evangelist
 
Location: Four Corners, US
Member since: Dec 2006, 10,623 posts
What server software are you using. Aren't their reports adequate?
  #3  
Old 09-22-2009
TechSpot Chancellor
 
Member since: Aug 2005, 693 posts
System specs
Quote:
Originally Posted by raybay View Post
What server software are you using. Aren't their reports adequate?
I have no idea what the sever is running, and don't know how to log into it. Was setup by the boss's son, and it runs so I don't screw with it.
Closed Thread

Similar Topics
Topic Replies Forum
Batch files.. 0 Software Apps
Let batch file copy files into folder in REG-SZ var 0 Windows OS
Copying files via batch files 4 Windows OS
Batch Files 2 Windows OS
IE, Save As, files trying to save as untitled.bmp? 1 Windows OS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 06:40 PM.