# \[AS2 CS4 WIN\] Access file in different folder

**URL:** <https://forum.kirupa.com/t/as2-cs4-win-access-file-in-different-folder/312359>\
**Category:** flash\
**Created:** [August 1, 2010, 2:46am UTC](https://forum.kirupa.com/t/as2-cs4-win-access-file-in-different-folder/312359 "2010-08-01T02:46:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![goloco](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@goloco](https://forum.kirupa.com/u/goloco)\
**Post date:** [August 1, 2010, 2:46am UTC](https://forum.kirupa.com/t/as2-cs4-win-access-file-in-different-folder/312359/1 "2010-08-01T02:46:16Z")

</div>

Hi, hoping you can help?

Due to reasons beyond my control, I need to be able to open an xml file located in a different folder on the same branch of the tree on a Windows client. The paths for the files are known; see example below.

Source Folder/File - D:\media\source\movie.swf  
Data Folder/FIle - D:\media\data\data.xml

Source Folder - This is the folder & file where the swf is located & executed from.  
Data Folder/File - This is the folder & file for the XML data file.

How would I reference the XML data file path in AS2 to be executed by my source SWF?

i.e. - dataXML\_xml.load(“D:\media\data\data.xml”);

Thank you for your response.
