Check alle échte Black Friday-deals Ook zo moe van nepaanbiedingen? Wij laten alleen échte deals zien

[Vista] Bestandsnaam gelimiteerd tot 101 karakters op NTFS?*

Pagina: 1
Acties:

  • PaulX
  • Registratie: Oktober 2000
  • Laatst online: 24-10 15:26

PaulX

Beyond your imagination...

Topicstarter
Een probleempje, wie weet waar het aan kan liggen?

Op de schijf waar ik al m'n muziek op sla (ST3400620AS, NTFS, 4096 bytes cluster sized)
komen hele lange "artist & track titles" vaak voor, maar het blijkt dat ik niet meer dan 101 karakters in mag vullen van Vista voor de bestandsnaam (extensie niet meegerekend)...
als voorbeeld kan ik zoiets als hieronder stellen:

[21] Armin van Buuren & DJ Shah ft Chris Jones - Going Wrong (Alex M.O.R.P.H. b2b Woody van Eyden Remix) [Future Favorite].mp3
= 122.3 karakters lang

maar ik kan dus maar tot hier:
[21] Armin van Buuren & DJ Shah ft Chris Jones - Going Wrong (Alex M.O.R.P.H. b2b Woody van Eyden Rem.mp3
= 101.3 karakters lang

Theoretisch zou ik toch tot 255 karakters kunnen gaan, of niet?
Waar kan deze limitatie van 101 karakters nu aan liggen? :?


(Ik draai Vista Ultimate SP1 x86)

ASRock Z97 Extreme6, Intel Core i7-4790S, G.Skill 16GB DDR3-1866, Samsung 950 Pro 256GB m.2 SSD (GPT, Bootdrive)


  • BlaTieBla
  • Registratie: November 2000
  • Laatst online: 29-11 10:15

BlaTieBla

Vloeken En Raak Schieten

Hoe ziet de directory structuur er uit?
Is het complete pad (incluis bestandsnaam) niet langer dan 255 karakters?
In the Windows API, the maximum length for a path is MAX_PATH, which is defined as 260 characters. A path is structured in the following order: drive letter, colon, backslash, components separated by backslashes, and a null-terminating character, for example, the maximum path on the D drive is "D:\<256 chars>NUL".

Note Functions in the Windows API convert "/" to "\" as part of converting the name to an NT style name.
The Unicode versions of several functions permit a maximum path length of approximately 32,000 characters composed of components up to 255 characters in length. To specify that kind of path, use the "\\?\" prefix.

Note The maximum path of 32,000 characters is approximate, because the "\\?\" prefix can be expanded to a longer string, and the expansion applies to the total length.
For example, "\\?\D:\<path>". To specify such a UNC path, use the "\\?\UNC\" prefix. For example, "\\?\UNC\<server>\<share>". These prefixes are not used as part of the path itself. They indicate that the path should be passed to the system with minimal modification, which means that you cannot use forward slashes to represent path separators, or a period to represent the current directory. Also, you cannot use the "\\?\" prefix with a relative path. Relative paths are limited to MAX_PATH characters.

which comes from the following link

http://msdn2.microsoft.com/en-us/library/aa365247.aspx
Dat leek voor een ander op experts-exchange.com te helpen

[ Voor 86% gewijzigd door BlaTieBla op 08-08-2008 13:54 ]

leica - zeiss - fuji - apple | PSN = Sh4m1n0


  • PaulX
  • Registratie: Oktober 2000
  • Laatst online: 24-10 15:26

PaulX

Beyond your imagination...

Topicstarter
BlaTieBla schreef op vrijdag 08 augustus 2008 @ 13:43:
Hoe ziet de directory structuur er uit?
Is het complete pad (incluis bestandsnaam) niet langer dan 255 karakters?
Wel, het pad naar het bestand zelf is als volgt:
M:\ [DANCE & TRANCE] \ Armin van Buuren \ A State of Trance - Radio Show Broadcast Episodes \ [ALL 2008 EPISODES] \ A State of Trance, Episode 355 (05-06-2008) PS \ *.mp3

ASRock Z97 Extreme6, Intel Core i7-4790S, G.Skill 16GB DDR3-1866, Samsung 950 Pro 256GB m.2 SSD (GPT, Bootdrive)


Verwijderd

windows telt inderdaad vanaf c:\

  • DeeJee
  • Registratie: Maart 2000
  • Laatst online: 23-12-2024

DeeJee

Dus...

[ Voor 8% gewijzigd door DeeJee op 08-08-2008 13:48 ]

Money for nothin' and your chicks for free


  • PaulX
  • Registratie: Oktober 2000
  • Laatst online: 24-10 15:26

PaulX

Beyond your imagination...

Topicstarter
Krijg nou wat ja!
Windows telt vanaf de drive letter etc. inderdaad...
Dat is overduidelijk:

M:\ [DANCE & TRANCE] \ Armin van Buuren \ A State of Trance - Radio Show Broadcast Episodes \ [ALL 2008 EPISODES] \ A State of Trance, Episode 355 (05-06-2008) PS \ [21] Armin van Buuren & DJ Shah ft Chris Jones - Going Wrong (Alex M.O.R.P.H. b2b Woody van Eyden Rem.mp3

het complete pad komt hiermee precies uit op 255 karakters/bytes!

Jammer dat het zo werkt
maar bedankt voor de info mensen... ;)

ASRock Z97 Extreme6, Intel Core i7-4790S, G.Skill 16GB DDR3-1866, Samsung 950 Pro 256GB m.2 SSD (GPT, Bootdrive)


  • alt-92
  • Registratie: Maart 2000
  • Niet online

alt-92

ye olde farte

Ik verander gelijk even je statement in de topictitel naar een vraag ;)

ik heb een 864 GB floppydrive! - certified prutser - the social skills of a thermonuclear device

Pagina: 1