Vitorr Classes
Vitorr Classes
Learn • Practice • Improve
HomeNTPC PYQArticle
NTPC PYQ

In the Windows Operating System, if a file named config.ini is located in the root directory of the main drive, what is the correct and complete absolute path to reference this file?

See more Vitorr Classes updates on Google Add Vitorr Classes as a Preferred Source for more of our fresh articles in eligible Google surfaces.
🔊
Listen to this article Uses a voice available on your device. English and Hindi are detected automatically.
Ready to listen 0 / 0

In the Windows Operating System, if a file named config.ini is located in the root directory of the main drive, what is the correct and complete absolute path to reference this file?

Options / विकल्प

  • A. config.ini
  • B. C:\config.ini
  • C. C:\Users\config.ini
  • D. \config.ini

Correct Answer / सही उत्तर ✅ B. C:\config.ini

Detailed Explanation / विस्तृत व्याख्या

Absolute Path (पूर्ण पथ)

Hindi: Absolute Path वह पूरा पता होता है जो किसी फ़ाइल या फ़ोल्डर की सटीक लोकेशन बताता है। Windows में एक Absolute Path में निम्न शामिल होते हैं:

  • Drive Letter (जैसे C:)
  • Colon (:)
  • Backslash (\)
  • File/Folder Name

यदि config.ini फ़ाइल C ड्राइव की root directory में रखी है, तो उसका पूरा path होगा: C:\config.ini

English: An absolute path specifies the complete location of a file starting from the root of a drive. Since config.ini is stored directly in the root directory of the C drive, its complete path is: C:\config.ini

Why Other Options Are Incorrect?

  • A. config.ini
    Hindi: यह केवल फ़ाइल का नाम है, पूर्ण path नहीं।
    English: This is only the filename and does not specify its location.
  • C. C:\Users\config.ini
    Hindi: यह दर्शाता है कि फ़ाइल Users folder के अंदर है, जबकि प्रश्न में root directory बताई गई है।
    English: This path places the file inside the Users folder, not in the root directory.
  • D. \config.ini
    Hindi: यह root-relative path है, लेकिन इसमें drive letter नहीं है।
    English: This is a root-relative path and does not explicitly identify the drive.

Important Concepts

Root Directory

Hindi: Root Directory किसी drive का सबसे ऊपरी स्तर (top-level folder) होता है। उदाहरण: C:\, D:\, E:\

English: The root directory is the highest-level directory of a drive. Examples: C:\, D:\, E:\

Absolute vs Relative Path
Absolute Path Relative Path
C:\config.ini config.ini
Complete location Depends on current directory
Starts from root Starts from current folder

Exam Point / परीक्षा हेतु महत्वपूर्ण तथ्य ✅

  • Absolute Path = Drive Letter + Full Location
  • Root Directory of C Drive = C:\
  • File in Root Directory = C:\filename.ext
  • Windows uses backslash (\) as the path separator.

One-Liner

A file named config.ini stored in the root of the C drive is referenced by the absolute path C:\config.ini.
यदि config.ini फ़ाइल C ड्राइव की root directory में है, तो उसका पूर्ण path C:\config.ini होगा।

Related Vitorr Study Material

Quick Revision / Key Points

  • An absolute path in Windows includes the drive letter, colon, backslash, and the full file or folder name.
  • The root directory is the top-level folder of a drive, e.g., C:\.
  • The correct absolute path for config.ini in the root of C drive is C:\config.ini.
  • Relative paths do not specify the drive and depend on the current working directory.
  • Windows uses backslash (\) as the path separator.
Revision Quiz
Finished reading? Test what you remember without leaving this page.
Generate a short bilingual quiz from this article.
⌨ Vitorr Typing Master Pro

Earn a verifiable online typing certificate

Turn reading into typing practice. Learn from single keys to words, sentences and paragraphs, practice with real Vitorr articles, pass the recorded final assessment, and become eligible for a Vitorr Classes typing certificate you can verify online and share anywhere. Certificate issue requires genuine performance, payment confirmation and Admin approval.

Keep your momentum going

Reading is only step one. Practice the topic, ask AI about anything unclear, or continue with more study material.