also @ TechSpot: LG Display announces 5.0-inch, 1080p AH-IPS display for smartphones

TechSpot

Save a log file of what a batch files has done

Discussion in 'Software Apps' started by TorturedChaos, Sep 22, 2009.

Thread Status:
Not open for further replies.
  1. TorturedChaos TechSpot Chancellor

    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. raybay TechSpot Addict

    What server software are you using. Aren't their reports adequate?
  3. TorturedChaos TechSpot Chancellor

    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.
Thread Status:
Not open for further replies.