Click here to Skip to main content
15,892,674 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: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 
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 
Well, I appreciate you replying.
But...

Randor wrote:
1.) You are using some invalid/reserved characters in your path. The < and > are reserved characters.

1. My path doesn't actually contain any < or > That was just for you to replace. You know, Microsoft docs use < > to denote variable values, that's what I was doing.
I was saying add your <username> directory into the path so it will run on your machine.

\\?\c:\users\<username>\temp\superlongfilenameand1234567890thisoneisgoingintherecordbooks1234567890andwillprobablytoastthisentire1234567890thingandiwonderwhatitisgoing1234567890todowhenilookatthefiletest1234567890ThisIsGoingToGoOnForALongLongLongLongLongTimeIthink123456789012345678901234567890123456789012345678901234567890_2017_03_10_2.txt
Note: that's really all one line but this editor makes it look odd.


Randor wrote:
2.) You are incorrectly assuming that you can make a really long directory entry of 32,767 characters.

2. No, the path already exists on my computer. That's a temp path that was created long ago. That's why I use that same path to create the other file (shorter name) which successfully calls CreateFileW.


Randor wrote:
3.) You are mistakenly attempting to create directories with the CreateFile Function[^]

3. again, no the path is already created.
If I do not provide any path in the string then it will create the file in the EXE path of my executable so I'm just pointing it to a path that already exists.

Finally, I actually am following those rules. Do you have any other ideas?

Thanks
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 
GeneralRe: For My Birthday... Pin
Bootking7-Mar-17 3:38
Bootking7-Mar-17 3:38 
GeneralRe: For My Birthday... Pin
Midi_Mick7-Mar-17 3:47
professionalMidi_Mick7-Mar-17 3:47 
GeneralRe: For My Birthday... Pin
DerekT-P7-Mar-17 3:38
professionalDerekT-P7-Mar-17 3:38 
GeneralRe: For My Birthday... Pin
Bootking7-Mar-17 3:50
Bootking7-Mar-17 3:50 
GeneralRe: For My Birthday... Pin
Mark_Wallace7-Mar-17 3:58
Mark_Wallace7-Mar-17 3:58 
JokeRe: For My Birthday... Pin
Daniel Pfeffer7-Mar-17 4:04
professionalDaniel Pfeffer7-Mar-17 4:04 

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.