Hi Thomas,

as Björnke already said you can use delete folder. But this only works if the 
folder is empty.

To delete folders and their contents (files and also subofolders) i am using

get shell("rm -r "& quote&xArg&quote)

where xArg contains the name of the folder i want to delete.

Regards,

Matthias


Am 14.05.2011 um 21:52 schrieb Thomas McGrath III:

> I am having problems deleting files and or folders via script.
> 
> I have searched and found that revdeleteFolder does not work. But what does?
> 
> I keep getting errors saying can't delete that file etc.
> 
> I looked through the lessons online and searched the list but did not find 
> any tuts yet.
> 
> Any one have a tut on this?
> 
> Thanks
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgr...@comcast.net
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to