How to find Root directory?
Hi,
I want to know answer for Two questions:
Question 1:
When i try to install my air package it show "c:\program files\samp". Due to some security reason i am not able to create or download a file under "c:\program files\" (under this page i made details discussion about this "http://forums.adobe.com/message/4973737#4973737"). To over come this problem i wan to install the air on "c:\samp" directly. How to do this?
Question 2:
If Question 1 is not possible then i want to workout this idea.My application will be installed on "c:\program files\samp" and i will move to root drive there i want to download the file (c:\samp\test.xml). From there i will access the file. Now my question is how can i find the root dirve of the installed application?
if i installed the application on "C:\program files\samp" then my root drive should be C:\
if i installed the application on "D:\program files\samp" then my root drive should be D:\ how to get this?
Note:I am aware of File.getRootDirectories() but it give all root drive on my system.But i want to get the root drive of my installed path.
Thanks,
Siva
