OG Xbox Forums => Official MediaXMenu (MXM) Forum => Dashboard Forums => MXM ActionScripting Forum => Topic started by: BenJeremy on January 18, 2004, 05:48:00 AM
Title: Need Help Deleting Directories In An Action Script
Post by: BenJeremy on January 18, 2004, 05:48:00 AM
CASCADE ... set to "yes" for it to act on non-empty directories (otherwise, it will fail if there are any subdirectories in the path)
Title: Need Help Deleting Directories In An Action Script
Post by: Yuyu on January 18, 2004, 08:32:00 AM
CODE
RMDIR C:/Skins Yes
or
CODE
RMDIR C:/Skins CASCADE Yes
or
CODE
RMDIR C:/Skins CASCADE
Title: Need Help Deleting Directories In An Action Script
Post by: Yuyu on January 18, 2004, 10:51:00 AM
I am in dire need of knowing, how the <CASCADE> command should look, so if someone could answer the above question, that would be great...
Title: Need Help Deleting Directories In An Action Script
Post by: BenJeremy on January 18, 2004, 03:03:00 PM
QUOTE (Yuyu @ Jan 18 2004, 12:32 PM)
SO should it look like this:
CODE
RMDIR C:/Skins Yes
or
CODE
RMDIR C:/Skins CASCADE Yes
or
CODE
RMDIR C:/Skins CASCADE
The first choice.
"Yes" or "True" is the parameter where <CASCADE> is. You are telling RMDIR that you want to delete the path, even if it has other paths in it.
Title: Need Help Deleting Directories In An Action Script
Post by: Yuyu on January 18, 2004, 03:45:00 PM
Awsome, you don't know on how many levels I believe this little bit of info is helping me right now, may even finish what I started a month ago tommorrow... Was very stumped with certain events taking place throughout my scripts, but I guess I know why now...