Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.
Collaborate in the cloud with Office, Exchange, SharePoint, and Lync
|
|||||||
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
|
|||
|
|||
|
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 Thanks |
|
#2
|
|||
|
|||
|
What server software are you using. Aren't their reports adequate?
|
|
#3
|
|||
|
|||
|
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.
|
![]() |
| 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 |
|
|
All times are GMT -4. The time now is 06:40 PM.




Batch files..