It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Graphic Photoshop Forum

Remove folder, subfolders, and files with script

Join this free Photoshop forum and learn from all out other members.

Remove folder, subfolders, and files with script

Postby kdjuiopo on Mon Jul 25, 2011 8:11 am

I am creating an uninstaller for a script. The Folder.remove() command works fine for removing a folder that is empty. However, it won't remove it if there are contents in the folder. Is there an easy command to remove a folder along with all its subfolders and files?

I can always built in some loops to delete all of the files and folders. However, is there an easy "removal all" command?

Thanks
kdjuiopo
50+ Club
 
Posts: 90
Joined: Fri Jul 01, 2011 1:32 am

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests