To simulate XCOPY & DELTREE in JADE?
Posted: Fri Aug 07, 2009 12:06 pm
by BevanClarke >> Wed, 13 Mar 2002 22:54:35 GMT
Anyone already written JADE code to copy an enttire directory/subdirectory structure (with all their files) from X to Y -- in my case from drive C: to drive Z:, which is a ZipDisk?
I need a back-up routine in addition to dbUtil to backup some non-JADE files (such as Word and Excel and .txt).
I thought of using Kernal32's fileCopy butthen I'd have to write a complicated tree-walking routine to traverse the directory structure.
I have tried the .create ExternalProcess (calling a DOS .CMD batch file) but it's very unfriendly for my non-tech users. And within that ..CMD option, if I do have to use it, I need a DELTREE command to erase the ZipDisk [FORMAT is too slow and verbose]. But DELTREE was dropped from Win2000!
Anyone already written JADE code to copy an enttire directory/subdirectory structure (with all their files) from X to Y -- in my case from drive C: to drive Z:, which is a ZipDisk?
I need a back-up routine in addition to dbUtil to backup some non-JADE files (such as Word and Excel and .txt).
I thought of using Kernal32's fileCopy butthen I'd have to write a complicated tree-walking routine to traverse the directory structure.
I have tried the .create ExternalProcess (calling a DOS .CMD batch file) but it's very unfriendly for my non-tech users. And within that ..CMD option, if I do have to use it, I need a DELTREE command to erase the ZipDisk [FORMAT is too slow and verbose]. But DELTREE was dropped from Win2000!