dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Can actionscript delete a folder?

  1. #1
    Junior Member
    Join Date
    Aug 2008
    Location
    Bergen
    Posts
    2

    Can actionscript delete a folder?

    Hallo,
    I am trying to create a small application. When a button is pressed, a selected folder on the harddrive will be deleted.

    Is that possible and how? (Actionscript 2.0)

    Thanks!

  2. #2
    Tim (Super Moderator) Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,766
    You can use fscommand to EXEC a DOS batch file that deletes the folder. You can't pass arguments via fscommand so the folder you want to delete has to be hard coded into the BAT file.

    If you use a third party swf2exe tool (see list below) then you have more options.

    SWF Studio http://www.northcode.com (my baby)
    mProjector http://www.screentime.com
    SWFKit http://www.swfkit.com
    SWiSH Studio http://www.swishzone.com
    Jugglor http://www.jugglor.com
    Zinc http://www.multidmedia.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center