|
Answer» I have been searching and cannot come up with anything, So I thought I would post a question on here. I have made several dos batch files like C to D backup.exe and they work fine with my command lines in the batch file. I then have scheduled task set to run these and that WORKS as well ok. The problem is that some thing keeps deleting these files. I have a folder in the root of my hard drive called Utilities and have about 5 of these type batch files and they keep getting deleted. I can PUT them in there one day and a day or two later they are gone. I have gone into my antivirus software and EXCLUDED this folder and it made no difference. Does anyone have any idea why this happens? Thanks WayneVery strange they would be dissappearing from the root folder... If you can post an example of one of the batch files and how exactly you are launching them we'll have a looksee...Here is the batch file I am using for my C-drive to D-drive backup: D: CD Backups\waynes machine\Dos backups\Favorites del *.* /q C: CD \ cd c:\documents and settings\Wayne\favorites xcopy *.* D:\"Backups\waynes machine\Dos backups"\"Favorites" /I /S /V /E /Y CD \ cd C:\ddp1 files xcopy *.* D:\"Backups\waynes machine\Dos backups"\"DDP1 FILES" /I /S /V /E /Y CD \ cd c:\mydocu~1 xcopy *.* D:\"Backups\waynes machine\Dos backups"\"MY DOCUMENTS" /I /S /V /E /Y CD \ cd c:\jokes xcopy *.* D:\"Backups\waynes machine\Dos backups"\"Jokes" /I /S /V /E /Y CD \ cd c:\utilities xcopy *.* D:\"Backups\waynes machine\Dos backups"\"Utilities" /I /S /V /E /Y CD \ cd c:\Complete programs xcopy *.* D:\"Backups\waynes machine"\"Complete Programs" /I /S /V /E /Y D \ cd c:\Complete programs 2 xcopy *.* D:\"Backups\waynes machine"\"Complete Programs 2" /I /S /V /E /Y
This works for me and makes my backups, The file is called: C TO D backup.bat and I have it set to run by system scheduler. I have 6 drives that I backup to and it deletes all 6 of them in my folder called utilities
Thanks Wayne
|