ASP Path Property Last Updated : 24 Mar, 2021 Comments Improve Suggest changes Like Article Like Report The ASP Path Property is used to get the complete path for a specified file, folder, or drive on the system. Syntax: For File Object FileObject.Path For Folder Object: FolderObject.Path For Drive Object: DriveObject.Path The below examples demonstrate the ASP Path Property. Example 1: The below code illustrates the ASP File.Path Property. ASP <% dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") 'Getting the given file set f=fs.GetFile("d:\GFG\sudo\geeks.asp") 'Getting the path of the file Response.Write("Complete path for the specified file: " & f.Path) set f=nothing set fs=nothing %> Output: Complete path for the specified file: d:\GFG\sudo\geeks.asp Example 2: The below code illustrates the ASP Folder.Path Property. ASP <% dim fs,fol set fs=Server.CreateObject("Scripting.FileSystemObject") 'Getting the required folder set fol=fs.GetFolder("d:\GFG\geeks") 'Getting the complete path of the folder Response.Write("The path of the folder is " & fol.Path) set fol=nothing set fs=nothing %> Output: The path of the folder is D:\GFG\geeks Example 3: The below code illustrates the ASP Drive.Path Property. ASP <% dim fs,drive set fs=Server.CreateObject("Scripting.FileSystemObject") 'Get the required drive set drive=fs.GetDrive("d:") 'Finding the path of the drive Response.Write("The path of the drive is: " & drive.Path) set drive=nothing set fs=nothing %> Output: The path of the drive is: D: Comment More infoAdvertise with us Next Article Software Developer (SDE) Interview/Placement Preparation Guide M manaschhabra2 Follow Improve Article Tags : Websites & Apps ASP-Properties ASP-Basics Similar Reads Interview Preparation Interview Preparation For Software Developers Must Coding Questions - Company-wise Must Do Coding Questions - Topic-wise Company-wise Practice Problems Company Preparation Competitive Programming Software Design-Patterns Company-wise Interview Experience Experienced - Interview Experiences Internship - Interview Experiences Practice @Geeksforgeeks Problem of the Day Topic-wise Practice Difficulty Level - School Difficulty Level - Basic Difficulty Level - Easy Difficulty Level - Medium Difficulty Level - Hard Leaderboard !! Explore More... Data Structures Arrays Linked List Stack Queue Binary Tree Binary Search Tree Heap Hashing Graph Advance Data Structures Matrix String All Data Structures Algorithms Analysis of Algorithms Searching Algorithms Sorting Algorithms Pattern Searching Geometric Algorithms Mathematical Algorithms Randomized Algorithms Greedy Algorithms Dynamic Programming Divide & Conquer Backtracking Branch & Bound All Algorithms Programming Languages C C++ Java Python C# Go Lang SQL PHP Scala Perl Kotlin Web Technologies HTML CSS JavaScript Bootstrap Tailwind CSS AngularJS ReactJS jQuery NodeJS PHP Web Design Web Browser File Formats Computer Science Subjects Operating Systems DBMS Computer Network Computer Organization & Architecture TOC Compiler Design Digital Elec. & Logic Design Software Engineering Engineering Mathematics Data Science & ML Complete Data Science Course Data Science Tutorial Machine Learning Tutorial Deep Learning Tutorial NLP Tutorial Machine Learning Projects Data Analysis Tutorial Tutorial Library Python Tutorial Django Tutorial Pandas Tutorial Kivy Tutorial Tkinter Tutorial OpenCV Tutorial Selenium Tutorial GATE CS GATE CS Notes Gate Corner Previous Year GATE Papers Last Minute Notes (LMNs) Important Topic For GATE CS GATE Course Previous Year Paper: CS exams Like