Search found 13 matches

by redclawkefar
19 Dec 2012 18:00
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

heh, looks even better now... thnx again.
by redclawkefar
19 Dec 2012 15:25
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

well, thats that then... i have what i need, thanks to you both. the code as i'm using them is then as such: @echo off DEL C:\robocopy\logs\ARCHIVE-am.LOG pushd "E:\Case Archive" for %%a in (a b c d e f j h i j k l m) do ( for /f "delims=" %%b in ( ' dir /ad /b "%%a*" '...
by redclawkefar
13 Dec 2012 08:27
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

errrr well now i feel dumb. so, then going back to that solution... in order to not have to go thru 100's of summary files, is there a way to parse the end of the file to report or list all the summaries... kinda like the following all in a txt file: Firstfolder summary: ----------------------------...
by redclawkefar
11 Dec 2012 18:00
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

yes, i am using robocopy with the /mir switch.... so mirroring and not just doing a backup. ok, in regards to a config file... that brings it back to what i've already had to some degree. just thinking out loud here.... --------------- if we run a script pre-robocopy to create a csv file of the fold...
by redclawkefar
10 Dec 2012 16:44
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

ugh.

go figure, now i get:

The input line is too long.

ok... time to think why it doesn't like 384 directories to exclude. besides the fact its a ton of folders... any ideas?
by redclawkefar
05 Dec 2012 17:52
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

ahhh yes... that worked. and yes, i can admit it, i have not actually ever 'called' an internal command before to execute. even though i did use 'call' in my original script for robocopy (the one linked to in the OP), at that time i wasn't fully understanding some of what i wrote. in either case, TH...
by redclawkefar
04 Dec 2012 18:30
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

hi foxidrive/antonio.... ok, so i've tried both approaches, and i could use both in different servers... foxidrive's solution works, minor tweaking to set directories in the "pushd" but it works like a charm. antonio, your's seems to loop for some odd reason and in the second pass it wipes...
by redclawkefar
29 Nov 2012 16:05
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

well it's doing what i want even if the log needs to be appended... so the slightly modded code: @echo off DEL ARCHIVE.LOG pushd "D:\TESTING\TS" for %%a in (a b c d e f j h i j k l m) do ( for /f "delims=" %%b in ( ' dir /ad /b "%%a*" ' ) do ( D:\TESTING\robocopy.exe &q...
by redclawkefar
28 Nov 2012 16:59
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

ok, so that last code works... kinda... unfortunately i have folders that have the same sub structure. for example below: x:\cab\articles x:\cab\documents x:\cab\library x:\cab\magazines x:\cab\news x:\cab\reports x:\cab\tests . . . x:\time\articles x:\time\documents x:\time\library x:\time\magazine...
by redclawkefar
21 Nov 2012 18:14
Forum: DOS Batch Forum
Topic: Rename all files with a sequence number
Replies: 8
Views: 12383

Re: Rename all files with a sequence number

if you really want o do mass renaming of files with exchanging and adding sequences and text to file names there is a really nice simple utility i found and use. if you ave $20us to spare its a great find. take a look at "better file rename" : http://www.publicspace.net/windows/BetterFileR...
by redclawkefar
21 Nov 2012 08:59
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

Re: need a script to split inputs to a-m and n-z for robocop

thank you both for ideas... i'll try them over the next couple days while the office is closed so i don't muck up people's work.... not that some of them need help mucking up their work edit: i looked into the exclude folders options... it seems that IS a possibility, for example, I have a script th...
by redclawkefar
20 Nov 2012 16:46
Forum: DOS Batch Forum
Topic: need a script to split inputs to a-m and n-z for robocopy
Replies: 24
Views: 36925

need a script to split inputs to a-m and n-z for robocopy

Ok, let me explain a little... I run robocopy in a script that figures out the day and parses a csv file for variables to plug into robocopy. That original script I wrote is here at the AMD forums : http://forums.amd.com/forum/messageview.cfm?catid=12&threadid=82530&highlight_key=y I created...