Click here to Skip to main content
15,895,370 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Win10 FileSystem: File / Path too long Pin
raddevus7-Mar-17 5:07
mvaraddevus7-Mar-17 5:07 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Dan Neely8-Mar-17 2:32
Dan Neely8-Mar-17 2:32 
GeneralRe: Win10 FileSystem: File / Path too long Pin
raddevus8-Mar-17 2:49
mvaraddevus8-Mar-17 2:49 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Mark_Wallace7-Mar-17 5:27
Mark_Wallace7-Mar-17 5:27 
GeneralRe: Win10 FileSystem: File / Path too long Pin
raddevus7-Mar-17 5:36
mvaraddevus7-Mar-17 5:36 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Sander Rossel7-Mar-17 5:31
professionalSander Rossel7-Mar-17 5:31 
GeneralRe: Win10 FileSystem: File / Path too long Pin
raddevus7-Mar-17 5:35
mvaraddevus7-Mar-17 5:35 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Randor 7-Mar-17 9:53
professional Randor 7-Mar-17 9:53 
Hi,

Wow, you wrote a disk monitoring application but did not know about NTFS filename limits? How is that even possible? Are you a .NET coder or something?

raddevus wrote:
So I'm just curious. Does anyone know how this can even work? How can Visual Studio and/or Android Studio continue to work when the files they are attempting to create are too long?


You could always create files longer than MAX_PATH ... even on Windows NT 4 all you do is prefix them with the "\\?\" prefix and use the wide version of CreateFile or directly call NtCreateFile. The MAX_PATH limitation only applies to a few Windows API such as shell32 and of course the explorer shell. Actually most of the operating system supports paths > 260.

Where do you think all those rootkits and viri hide? Laugh | :laugh:

The actual NTFS limit is 32,767 characters. Better look into updating your disk monitoring tool.

Best Wishes,
-David Delaune

P.S.
It gets really interesting when working near the NTFS limits... try passing some long arguments to executables at the true ntfs limit.

GeneralRe: Win10 FileSystem: File / Path too long Pin
raddevus7-Mar-17 14:25
mvaraddevus7-Mar-17 14:25 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Randor 7-Mar-17 15:30
professional Randor 7-Mar-17 15:30 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Mark_Wallace7-Mar-17 21:13
Mark_Wallace7-Mar-17 21:13 
GeneralRe: Win10 FileSystem: File / Path too long Pin
raddevus8-Mar-17 2:45
mvaraddevus8-Mar-17 2:45 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Randor 8-Mar-17 8:23
professional Randor 8-Mar-17 8:23 
GeneralRe: Win10 FileSystem: File / Path too long Pin
raddevus8-Mar-17 8:45
mvaraddevus8-Mar-17 8:45 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Randor 8-Mar-17 9:56
professional Randor 8-Mar-17 9:56 
GeneralRe: Win10 FileSystem: File / Path too long Pin
raddevus8-Mar-17 10:15
mvaraddevus8-Mar-17 10:15 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Randor 8-Mar-17 11:12
professional Randor 8-Mar-17 11:12 
GeneralRe: Win10 FileSystem: File / Path too long Pin
raddevus8-Mar-17 11:28
mvaraddevus8-Mar-17 11:28 
GeneralRe: Win10 FileSystem: File / Path too long Pin
Randor 8-Mar-17 13:10
professional Randor 8-Mar-17 13:10 
GeneralFor My Birthday... Pin
Bootking7-Mar-17 3:23
Bootking7-Mar-17 3:23 
GeneralRe: For My Birthday... Pin
OriginalGriff7-Mar-17 3:31
mveOriginalGriff7-Mar-17 3:31 
GeneralRe: For My Birthday... Pin
Bootking7-Mar-17 3:37
Bootking7-Mar-17 3:37 
GeneralRe: For My Birthday... Pin
OriginalGriff7-Mar-17 3:55
mveOriginalGriff7-Mar-17 3:55 
GeneralRe: For My Birthday... Pin
Bootking7-Mar-17 4:06
Bootking7-Mar-17 4:06 
GeneralRe: For My Birthday... Pin
Midi_Mick7-Mar-17 3:31
professionalMidi_Mick7-Mar-17 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.