Thanks Alan,
I got it to work with your command line but only when I changed the
subfolders flag back to "1". That doesn't delete the folders but it
does the files in the subfolders. Using the "3" flag did not delete
files in subfolders for me.

The help file states that for subfolder flag "3" requires "(use
file.isfolder to select folders)". I'm not sure how to use that.
Deleting just the files in the subfolders is okay for now.

Thanks for your help, it is working for me now.


--- In [email protected], Alan Martin <[EMAIL PROTECTED]> wrote:
>
> Hello Ed,
>
> > I am trying to delete all files in a folder as well as in subfolders.
> > It appears that the file plugin can do this but I am getting stuck on
> > the syntax. I have tried:
>
> > File.AllFiles("D:\\My Music\\Playlists","file.delete(*.*)","1")
>
> > But, that give me an error message and doesn't delete the files.
>
> You didn't tell us what the error message said.
>
> > How can I delete all the files in a folder and it's subfolders.
> > If possible, I'd like to delete the subfolders as well.
>
> This works here:
> File.AllFiles(?"D:\My Music\Playlists","file.delete(_file_)",3)
>
> Notes:
> I used ?"D:\etc" instead of "D:\\etc"
> so it doesn't depend upon \ being set as your escape character.
>
> File.txt in your plugins folder advises us to use _file_ instead of *.*
>
> Using 3 instead of 1 makes the command be run on files and folders
> in the path and all of its subfolders.
>







Attention: PowerPro's Web site has moved: http://www.ppro.org



SPONSORED LINKS
Computer monitoring software Power pro Computer and internet software
Free computer monitoring software


YAHOO! GROUPS LINKS




Reply via email to