RE: [RBASE-L] - Stumped

2020-10-30 Thread Richardson, Jeff
-l@googlegroups.com Subject: Re: [RBASE-L] - Stumped That should work flawlessly! At 11:39 PM 10/29/2020, Tom Hart wrote: >vbackdir1 is captured variable from my database so would I just use this >IF (CHKFILE(.vBackupDir1)) <> 1 THEN > MKDIR .vBackupDir1 >ENDIF > >Tom

Re: [RBASE-L] - Stumped

2020-10-30 Thread A. Razzak Memon
That should work flawlessly! At 11:39 PM 10/29/2020, Tom Hart wrote: vbackdir1 is captured variable from my database so would I just use this IF (CHKFILE(.vBackupDir1)) <> 1 THEN MKDIR .vBackupDir1 ENDIF Tom On Thu, Oct 29, 2020 at 10:10 PM A. Razzak Memon

Re: [RBASE-L] - Stumped

2020-10-29 Thread Tom Hart
vbackdir1 is captured variable from my database so would I just use this IF (CHKFILE(.vBackupDir1)) <> 1 THEN MKDIR .vBackupDir1 ENDIF Tom On Thu, Oct 29, 2020 at 10:10 PM A. Razzak Memon wrote: > Tom, > > Here is an eloquent method to check the existence of file or directory. > > --

Re: [RBASE-L] - Stumped

2020-10-29 Thread A. Razzak Memon
Tom, Here is an eloquent method to check the existence of file or directory. -- Example SET VAR vBackupDir1 TEXT = 'XLS' IF (CHKFILE(.vBackupDir1)) <> 1 THEN MKDIR .vBackupDir1 ENDIF There is no need to use extra steps and variables to check the existence of file or directory. Have

[RBASE-L] - Stumped

2020-10-29 Thread Tom Hart
I have been using an autobackup routine for years on many different computers and never had a problem until now. The only thing is that I have put it on a computer with C is ssd and D regular harddrive. Following is the code where it hangs up. I create the backup folder if it does not exist even