News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

MAX_PATH

Started by jj2007, May 09, 2024, 10:53:07 PM

Previous topic - Next topic

sinsi

OK, some experiments.

Created a folder on the desktop, 255 characters, using code.
Opened OK with Explorer.
Created a text file OK.
File opened with Notepad++, saved OK, but the filename in the title bar was 8.3
Can't rename or delete folder from Explorer, had to code it.
Folder not accessible from CMD.

Created a folder in that folder, same, I imagine it will keep going until approx 64 255-char folders :dazzled:
Trying 256 chars returned an error.

Had some trouble until I remembered that using \\?\ requires a
fully-qualified path, in my case \\?\C:\Users\sinsi\Desktop\zzzzzzzzzzzz...


So not such a good place to store your porn :biggrin:

TimoVJL

Some problems are inherited from Windows 95 / 98 ANSI version without native OS UNICODE support.
Also FAT and FAT32 have to be supported.
May the source be with you

NoCforMe

Quote from: sinsi on May 10, 2024, 09:00:37 AMHad some trouble until I remembered that using \\?\ requires a
fully-qualified path, in my case \\?\C:\Users\sinsi\Desktop\zzzzzzzzzzzz...

So not such a good place to store your porn :biggrin:
You're supposed to use Computer\HKEY_USERS\S-1-5-18\Software ... \MySekritPornStash.
Oh, wait ...
Assembly language programming should be fun. That's why I do it.