There are several ways to do this, but by far the simplest is:
system "rd /S /Q Folder_01";
assuming that you want to remove everything below the root.
However, if you really have to work with paths longer than 260 characters then you'll have to construct the paths in the full domain name form, and then convert them to UTF16LE.
In reply to Re: Removing long pathes on windows xp
by BrowserUk
in thread Removing long pathes on windows xp
by dmitryrusak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |