Greg
Mon Aug 16 07:04:53 CDT 2004
Glyn,
Thanks for your help. I don't know what the problem
actually was, but I returned to my computer and tried
messing with the batch files again and they worked fine.
I didn't reboot or change a thing. Before I posted here I
even tried to create a batch file with just the echo on
with the same results. Then I created one with just the
copy line (without the date attributes) with the same
results.
I came back an hour later, run the program and everything
worked. Weird! Thanks for your help.
Greg
>-----Original Message-----
>Hi Greg
>
>It's possible you've managed to get an extra html
sequence copied into your
>file. The script should say:
>
>@echo off
>for /F "tokens=1-4 delims=/ " %%i IN ('date /t') DO (
>set DT_DAY=%%i
>set DT_MM=%%j
>set DT_YYYY=%%k)
>
>attrib -r "f:\backup\My Money Backup%dt_yyyy%%dt_mm%%
dt_day%.mbf"
>copy "f:\backup\My Money Backup.mbf" "f:\backup\My Money
>Backup%dt_yyyy%%dt_mm%%dt_day%.mbf" /y
>
>
>Actually, I have an updated page too which I thought i
had published. Will
>try to publish it later (it just gives a few more
screenshots and an
>alternative script for monthly backups instead (plus an
updated 'attrib'
>line above))
>
>Glyn
>
>--
>Glyn Simpson, Microsoft MVP - Money
>
>Check
http://support.microsoft.com/default.aspx?
scid=fh;EN-GB;mny
>for UK tips and fixes for MS Money. To send Microsoft
your wishes or
>suggestions, use
http://register.microsoft.com/mswish/suggestion.asp
>or
http://www.microsoft.com/uk/support/money/feedback
especially
>if it's a UK specific wish.
>
>I do not respond to any unsolicited email regarding Money
>
>"Greg" <anonymous@discussions.microsoft.com> wrote in
message
>news:6aab01c4833b$a3977de0$a601280a@phx.gbl...
>> I tried creating that script with no luck. When I run
it
>> it gives me this error:
>>
>> '■@' is not recognized as an internal or external
command,
>> operable program or batch file.
>>
>> Anyone else have any luck with this batch file?
>>
>> I simply copied it from the website and changed a few
>> attributes for my personal settings and tried to run it.
>> I created it in notebook and saved as plain text as
>> backup.bat
>>
>> I used the type command to see that it was indeed plain
>> text and looked correct. It seems as though it is
>> hanging on the first line - @echo off as if it doesn't
>> know what to do with it.
>>
>> This is the exact thing that I want to do, and would
love
>> to have windows do it without a 3rd party software
>> program. Let me know if I'm doing something wrong!
>> Thanks.
>>
>> Greg
>>
>> >-----Original Message-----
>> >In microsoft.public.money, Greg wrote:
>> >
>> >>Hi everyone... I was wondering if anyone had a good
way
>> >>to backup money files daily automatically, without
>> >>overwriting the old backup file?
>> >>
>> >>I had a program a while back called second copy 2000
>> >>which did a nice job of backing up the file (it would
>> >>make a new directory each day and copy the money file
>> >>into that directory on a CD).
>> >>
>> >>I only used it for a brief time (trial period), and
was
>> >>wondering if anyone had a similar way to backup files
>> for
>> >>free - creating a directory for each day/date and then
>> >>copying the file to that directory.
>> >>
>> >>Any help/insite would be greatly appreciated!
>> >
>> >See Glyn Simpson's method at
>>
http://www.mvps.org/money/backup.htm
>> >
>> >
>> >.
>> >
>
>
>.
>