J
jmls
Guest
11.3.1 there seems to be a problem with the recursive option of os-delete run the following code os-create-dir "c:\temp". os-create-dir "c:\temp\foo". os-create-dir "c:\temp\foo\bar". file-info:file-name = "c:\temp\foo\bar". message "#1" file-info:full-pathname file-info:file-type view-as alert-box. os-delete "c:\temp\foo" recursive. file-info:file-name = "c:\temp\foo\bar". message "#2" file-info:full-pathname file-info:file-type view-as alert-box. os-create-dir "c:\temp\foo". os-create-dir "c:\temp\foo\.bar". file-info:file-name = "c:\temp\foo\.bar". message "#3" file-info:full-pathname file-info:file-type view-as alert-box. os-delete "c:\temp\foo" recursive. file-info:file-name = "c:\temp\foo\.bar". message "#4" file-info:full-pathname file-info:file-type view-as alert-box. so, unexpectedly, #4 does not show ? ? . I believe that progress *may* be interpreting the "." as a wildcard, and the docs say "You cannot use wildcard characters to specify files or directories." However, "." is a perfectly legitimate character in folder names interestingly enough, add the following .. os-delete "c:\temp\foo\.bar" recursive. file-info:file-name = "c:\temp\foo\.bar". message "#5" file-info:full-pathname file-info:file-type view-as alert-box. and this #5 does show ?? ...
Continue reading...
Continue reading...