Jump to content

Recommended Posts

Posted

My handy batch file to get logs from dps

 

It is hard coded bit so might need to edit it to get it working..

 

Takes two inputs workstation name as it connects to \\station name\c$ and also call ID (can by anything i use call number that is rm support site when call is opened)

getlogs.zip

Posted

Looks good Russ had to do that job recently and did it the manual way.

 

Why not just xcopy using the unc though instead of mapping a drive?

xcopy %i%\c$\progra~1\qcates~1\delive~1\TDS\config\*.* target

 

Ben?

Posted

or you can do this:

 

c:\"location of 7za.exe"\7za.exe a -r c:\"location of zip file to be _ create"\%1-CALLID-%2.7z _ \\%1\c$\progra~1\qcates~1\delive~1\TDS\config\*.*

 

As a one liner.

 

Ben

Posted

just prefer to do it that way but can do it with out map drive

 

reason not done it as one liner is so that expand script to get other files if needed.

 

 

russ

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...