ICT KS3 SATS Tests Thread, prezzie batch file to collect dps logs in United Kingdom (UK) Specific Forums; My handy batch file to get logs from dps
It is hard coded bit so might need to edit it ...
16th May 2006, 09:37 AM #1 prezzie batch file to collect dps logs 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) Attached Files
IDG Tech News
16th May 2006, 09:42 AM #2 Re: prezzie batch file to collect dps logs 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?
16th May 2006, 09:48 AM #3 Re: prezzie batch file to collect dps logs 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
16th May 2006, 10:43 AM #4 Re: prezzie batch file to collect dps logs 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
16th May 2006, 12:16 PM #5 Re: prezzie batch file to collect dps logs Yeah I can see what you mean. I was just amazed that my one liner actually worked
Ben
SHARE:
Similar Threads
By MrLudwig in forum Windows
Replies: 13
Last Post: 8th December 2007, 02:40 AM
By Halfmad in forum Scripts
Replies: 12
Last Post: 6th November 2007, 09:25 PM
By macca in forum Windows
Replies: 5
Last Post: 3rd May 2007, 09:20 AM
By PiqueABoo in forum Scripts
Replies: 5
Last Post: 13th December 2006, 11:09 PM
By beeswax in forum Scripts
Replies: 9
Last Post: 3rd March 2006, 07:48 PM
Thread Information Users Browsing this Thread There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads You may not post replies You may not post attachments You may not edit your posts Forum Rules