The ParentFolder property returns a new Folder object for the parent folder.
<html> <body> <script language="JScript"> <!-- function get(){ var myObject = new ActiveXObject("Scripting.FileSystemObject"); var myFolder = myObject.GetFolder("c:\Temp"); alert (myFolder.ParentFolder.Path); } // End hide--> </script> Get the name of the c:temp parent folder. <form name="myForm"> <input type="Button" value="Get Parent Folder" onClick='get()'> </form> </body> </html>