Jump to content
The simFlight Network Forums

Weird file-path in runways.xml


Recommended Posts

Hi Pete,

I just noticed that the file-tags in runways.xml begins with "\\?". I only use this tag to display where the scanned data comes from (which scenery) so its no a big deal, I just wandered where it came from?

<File>\\?\G:\FS\2020Packages\Official\OneStore\fs-base\scenery\0001\APX07100.bgl</File>

Pelle

Link to comment
Share on other sites

3 minutes ago, pellelil said:

I just noticed that the file-tags in runways.xml begins with "\\?". I only use this tag to display where the scanned data comes from (which scenery) so its no a big deal, I just wandered where it came from?

I put that in for MSFS to allow/enforce Windows to accept pathnames greater than 256 (MAX_PATH), since using the default install paths, especially for the Store version of MSFS, easily generates what would otherwise be overlong paths.

See https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd

"To specify an extended-length path, use the "\\?\" prefix. For example, "\\?\D:\very long path"."

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.