Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1046961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:13:46+00:00 2026-05-16T16:13:46+00:00

In MSDN , String Meaning \\.\C: Opens the C: volume. \\.\C:\ Opens the file

  • 0

In MSDN,

String Meaning
\\.\C: Opens the C: volume.
\\.\C:\ Opens the file system of the C: volume.

I could open \\.\C: volume device.
But I couldn’t open \\.\C:\ directory by CreateFile.

How can I open the directory by CreateFile with \\.\ prefix.
And if I open the directory, what can I do by using the handle.

Are C:\ and \\.\C:\ same?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:13:47+00:00Added an answer on May 16, 2026 at 4:13 pm

    From the same MSDN page:

    When opening a volume or removable
    media drive (for example, a floppy
    disk drive or flash memory thumb
    drive), the lpFileName string should
    be the following form: \.\X:. Do not
    use a trailing backslash (), which
    indicates the root directory of a
    drive. The following table shows some
    examples of drive strings.

    Most likely since the WinAPI does not support the trailing backslash they mean the same but behave differently

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found an example in MSDN for string to datetime conversion. But it doesn't
MSDN states that String.Intern retrieves the system's reference to the specified String and String.IsInterned
MSDN says that public static members of System.Windows.Application are thread safe. But when I
MSDN is rather vague regarding this attribute. The custom data string can be set
From this sample code from MSDN http://msdn.microsoft.com/en-us/library/system.string.gethashcode.aspx The hash code for abc is: 536991770
I dont understand : MSDN says http://msdn.microsoft.com/en-us/library/system.string.intern.aspx Consequently, an instance of a literal string
On the MSDN, I have found following: public event EventHandler<MyEventArgs> SampleEvent; public void DemoEvent(string
So, as described on this msdn page , when you define a Connection String
MSDN docs say that only value types need boxing, but this does not apply
MSDN: BaseOutputPath : Specifies the base path for the output file. If it is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.