• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 351
  • Last Modified:

How to get long path name of files in device driver?

I just want to convert short path names into long ones.

C:\PROGRA~1\readme.txt ========> c:\program files\readme.txt

How to do this in Win2K Device Driver?  thank you!
  • 2
1 Solution
Call "GetLongPathName()" - this is also available for drivers (see winbase.h in "%DDKROOT%\inc")
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now