ASP FolderExists Method Last Updated : 23 Feb, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report The FolderExists Method in ASP is used for returning the Boolean value which indicates that whether a particular folder exists or not. It returns true means the particular folder exists or returns false if the particular folder not exists. Syntax: FileSystemObject.FolderExists(foldername) Parameter Value: foldername: It specifies the name of the folder which would be checked if exists or not. Example: Below code demonstrates the FolderExists Method. ASP <% dim fs set fs=Server.CreateObject("Scripting.FileSystemObject") if fs.FolderExists("d:\GFG")=true then response.write("Folder d:\GFG exists!") else response.write("Folder d:\GFG does not exist!") end if set fs=nothing %> Output: Folder d:\GFG exists Comment More infoAdvertise with us Next Article ASP FolderExists Method M manaschhabra2 Follow Improve Article Tags : Websites & Apps ASP-Methods ASP-Basics Similar Reads ASP FileExists Method The FileExists Method in ASP is used for returning the Boolean value which indicates that whether a particular file exists or not. It returns true means the particular file exits or returns false if the particular file not exits.  Syntax: FileSystemObject.FileExists(filename) Parameter Values: file 1 min read ASP DriveExists Method The ASP DriveExists Method is used for returning the Boolean Value which indicates that whether the particular drive will be exits or not. It returns true means the particular drive exits or returns false if the particular drive not exits. Syntax FileSystemObject.DriveExists(drive) Parameter Value 1 min read ASP GetFolder Method The ASP GetFolder Method is used for returning the Folder object corresponding to the folder for a specified path. It is an in-built method of the FileSysten Object. Syntax: FileSystemObject.GetFolder(path) Parameter Values: Path:It is a required attribute. It specifies the path to a specified Fold 1 min read ASP CopyFolder Method The ASP CopyFolder Method is used to copying one or more folders from source to destination. It is a predefined method of the FileSystem Object. Syntax: FileSystemObject.CopyFolder source,destination[,overwrite] Parameter Values: source: It is a required attribute. It contains a Character string fi 1 min read ASP DeleteFolder Method The ASP DeleteFolder Method is used to delete one or more folders from the server. It returns an error if we want to delete a non-existing folder.  Syntax: FileSystemObject.DeleteFolder(foldername[,force]) Parameter Values: foldername: It specifies the name of the folder which you want to delete.fo 1 min read Like