F
Fernando Souza
Guest
This is a product defect. Please, report it to Technical support. From: jmls [mailto:bounce-jmls@community.progress.com] Sent: Friday, April 04, 2014 12:51 PM To: TU.OE.Development@community.progress.com Subject: os-delete recursive "problem" os-delete recursive "problem" Thread created by jmls 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 ?? ... Stop receiving emails on this subject. Flag this post as spam/abuse.
Continue reading...
Continue reading...