Hi, can anyone advise how to open external folder from my exe file.

Actionscript Code:
import flash.system.*;
import flash.system.Capabilities;
var sys:String = flash.system.Capabilities.os;

open_btn.addEventListener(MouseEvent.CLICK, open_video);


function open_video(event:MouseEvent):void
{
   
   
    var url:String = "open_pdf.bat";
    fscommand("exec",url);
   
   
    //
//if(sys.substr(0,1)=="W") {
////do windows link
////var drv = _url.substr(8,1);
////getURL(drv + "/pdf");
//
//var path1:String;
////var pattern:RegExp = /^http?:\/\//;
//path1 = "/pdf/";
////path1 = path1.replace(pattern, "");
//path1.substr(0,8)
//var url:URLRequest = new URLRequest(path1);
//navigateToURL(url);
//
//
//} else if(sys.substr(0,1)=="M") {
////do mac code
////tell application "Finder"
////   open folder of (path to me)
////end tell
//
////} else {
////default code would be windows link incase someone is using the cd on Linux etc
////}
//
//}


}