I get that too, because the path "c:\ProgramData\Test1\Test Folder" does not exist on my system. Perhaps you should check that something exists before being surprised when you can't get a directory list? See -X.
In reply to Re: What is wrong with this code?
by marto
in thread What is wrong with this code?
by prab2112
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |