delete files and folders on-rev.com

Matthias Rebbe runrev260805 at m-r-d.de
Sat May 14 19:04:25 EDT 2011


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
> 3mcgrath at comcast.net
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list