I am trying to determine if a directory exists on a computer.  If G:\ac  
exists, then a file will be created there.  
 
I tried to:
 cd g:\ac
 if sqlcode = 0 then
   create file in that directory
 endif
 
The sqlcode does not seem to change if the cd command succeeds or fails.
 
Any suggestions on how to see if a subdirectory exists?
 
Thanks.
 
Bill

Reply via email to