X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ASP IsRootFolder Property


Folder Object Reference Complete Folder Object Reference

The IsRootFolder property returns true if the specified folder is the root folder and false if not.

Syntax

FolderObject.IsRootFolder

Example

<%
dim fs,fo
set fs=Server.CreateObject("Scripting.FileSystemObject")
set fo=fs.GetFolder("c:\asp\test")
if fo.IsRootFolder=true then
  Response.Write("The folder is the root folder!")
else
  Response.Write("The folder is not the root folder!")
end if
set fo=nothing
set fs=nothing
%>

Output:

The folder is not the root folder!


Folder Object Reference Complete Folder Object Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook