|
Home > Archive > alt.certification.a-plus > April 2005 > Dos Batch file
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| I need help with a batch file. I want to use the batch file to backup three
areas from my XP computer (Comp-01) to another Win98 computer (Comp-3) using
an xcopy line for each area. Below is a sample of the code with the first
two lines working properly. The third line does not work and I think it
because of the folder \{FF87690B-8D29-43DE-897D-E0EF4569E810}. I don't know
how or if the folder can be setup to be recognized in the batch file.
Backup.BAT
xcopy C:\Docume~1\Mike\MyDocu~1\*.* \\Comp-03\C\BU1Mike /s /i /y
xcopy C:\Data\SKW2\USERDATA\*.sdb \\Comp-03\C\BU2Mike /s /i /y
xcopy C:\
Docume~1\Mike\LocalS~1\Applic~
1\Identi~1\{FF87690B-8D29-43DE-897D- E0EF4569E810}\Micros~1\Outloo~
1\*.*
\\Comp -03\C\BU3Mike /s /i /y
Any help would be appreciated.
Mike
| |
| returnoftheyeti@aol.com 2005-04-06, 2:29 pm |
| use ntbackup
start, run, ntbackup.exe
| |
|
| Awesome,
Thanks, Mike
<returnoftheyeti@aol.com> wrote in message
news:1105757252.515058.61290@z14g2000cwz.googlegroups.com...
> use ntbackup
>
> start, run, ntbackup.exe
>
| |
| Thom Hogan 2005-04-06, 2:29 pm |
| The problem is that the folder {FF87690B-8D29-43DE-897D-E0EF4569E810}does
not follow the same format as the other folders (short folder names).
Simply change that folder name to {FF876~1 so the line should read:
xcopy
C:\Docume~1\Mike\LocalS~1\Appl
ic~1\Identi~1\{FF876~1\Micros~
1\Outloo~1\*.*
\\Comp-03\C\BU3Mike /s /i /y
"Mike" <sbmike@adelphia.net> wrote in message
news:APKdnbwrM5D3w3XcRVn-iA@adelphia.com...
>I need help with a batch file. I want to use the batch file to backup three
>areas from my XP computer (Comp-01) to another Win98 computer (Comp-3)
>using an xcopy line for each area. Below is a sample of the code with the
>first two lines working properly. The third line does not work and I think
>it because of the folder \{FF87690B-8D29-43DE-897D-E0EF4569E810}. I don't
>know how or if the folder can be setup to be recognized in the batch file.
>
>
>
> Backup.BAT
>
> xcopy C:\Docume~1\Mike\MyDocu~1\*.* \\Comp-03\C\BU1Mike /s /i /y
>
> xcopy C:\Data\SKW2\USERDATA\*.sdb \\Comp-03\C\BU2Mike /s /i /y
>
> xcopy C:\
> Docume~1\Mike\LocalS~1\Applic~
1\Identi~1\{FF87690B-8D29-43DE-897D- E0EF4569E810}\Micros~1\Outloo~
1\*.*
> \\Comp -03\C\BU3Mike /s /i /y
>
>
>
> Any help would be appreciated.
>
>
>
> Mike
>
>
| |
| Tom MacIntyre 2005-04-06, 2:30 pm |
| On Wed, 19 Jan 2005 08:40:30 -0500, "Thom Hogan"
<thomhogan@townisp.com> wrote:
>The problem is that the folder {FF87690B-8D29-43DE-897D-E0EF4569E810}does
>not follow the same format as the other folders (short folder names).
>Simply change that folder name to {FF876~1 so the line should read:
>
>xcopy
> C:\Docume~1\Mike\LocalS~1\Appl
ic~1\Identi~1\{FF876~1\Micros~
1\Outloo~1\*.*
>\\Comp-03\C\BU3Mike /s /i /y
>
I thought of that too, but...what if there are identical characters
after the first six? There may well be...
Tom
>
>"Mike" <sbmike@adelphia.net> wrote in message
>news:APKdnbwrM5D3w3XcRVn-iA@adelphia.com...
>
|
|
|
|
|