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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.