K
Krazy Darcy
Hi.
Here is the code for a "backup" button
Private Sub buall_Click()
Call Shell("xcopy c:\dw\*.* H:\Dw\ /E /y")
Call Shell("xcopy h:\photo library\*.* H:\photo library\ /E
/y")
Call Shell("xcopy c:\darcy\graphics stuff\*.* H:\graphics
stuff\ /E /y")
End Sub
The first line runs OK but the other two don't
The backup external HDD (N is on/installed/working
The database is in c:\dw\
I have tried adding >backup.txt to the lines as I know that the volume of
data will take a while to copy (about 20gb). on the text file
C:backuplog.txt
C:dbase-menu-bg.bmp
C:help.bmp
C:krazydarcy-studiobase.ldb
C:krazydarcy-studiobase.mdb
C:logo--stensil copy.gif
C:logo--stensil.jpg
.....
All of the above files ARE in C:\dw\
Is access vba being sandboxed?
I want to be able to back up all three folders at the click of a button
I may end up using a batch file (.bat) and invoke that from the vb script.
But unsure if I will still hit the same problem.
Thanks for your time.
Here is the code for a "backup" button
Private Sub buall_Click()
Call Shell("xcopy c:\dw\*.* H:\Dw\ /E /y")
Call Shell("xcopy h:\photo library\*.* H:\photo library\ /E
/y")
Call Shell("xcopy c:\darcy\graphics stuff\*.* H:\graphics
stuff\ /E /y")
End Sub
The first line runs OK but the other two don't
The backup external HDD (N is on/installed/working
The database is in c:\dw\
I have tried adding >backup.txt to the lines as I know that the volume of
data will take a while to copy (about 20gb). on the text file
C:backuplog.txt
C:dbase-menu-bg.bmp
C:help.bmp
C:krazydarcy-studiobase.ldb
C:krazydarcy-studiobase.mdb
C:logo--stensil copy.gif
C:logo--stensil.jpg
.....
All of the above files ARE in C:\dw\
Is access vba being sandboxed?
I want to be able to back up all three folders at the click of a button
I may end up using a batch file (.bat) and invoke that from the vb script.
But unsure if I will still hit the same problem.
Thanks for your time.