peacemaker Expert Licensed User Longtime User Aug 23, 2024 #1 HI, All I read that path should be 8.3 format for FAT32. But ... how to mkdir("/year/month/day/hour") ? Is it impossible at all ? Only mkdir("/year/mon") maximally possible ? "/1/2/3/4/5/6" ? Last edited: Aug 23, 2024
HI, All I read that path should be 8.3 format for FAT32. But ... how to mkdir("/year/month/day/hour") ? Is it impossible at all ? Only mkdir("/year/mon") maximally possible ? "/1/2/3/4/5/6" ?
Solution peacemaker Aug 23, 2024 Ha ! RunNative("create_dir", "/00".GetBytes) RunNative("create_dir", "/00/00".GetBytes) RunNative("create_dir", "/00/00/00".GetBytes) Click to expand... There works ! One by one only starting the root subfolder.
Ha ! RunNative("create_dir", "/00".GetBytes) RunNative("create_dir", "/00/00".GetBytes) RunNative("create_dir", "/00/00/00".GetBytes) Click to expand... There works ! One by one only starting the root subfolder.
Daestrum Expert Licensed User Longtime User Aug 23, 2024 #2 each segmant of the path must be 8 or less characters, filename 8 or less, extention 3 , max path & filename & ext < 260 chars /one/two/three/four/filename.ext - OK /one/two/longpathname/filename.ext - not OK (although this could be changed by os to /LONG~1/ type name) Upvote 0
each segmant of the path must be 8 or less characters, filename 8 or less, extention 3 , max path & filename & ext < 260 chars /one/two/three/four/filename.ext - OK /one/two/longpathname/filename.ext - not OK (although this could be changed by os to /LONG~1/ type name)
peacemaker Expert Licensed User Longtime User Aug 23, 2024 #3 folder=/00/0000/000000 Click to expand... Such path cannot be created, tested Upvote 0
peacemaker Expert Licensed User Longtime User Aug 23, 2024 #4 Log(RunNative("create_dir", "/00/00".GetBytes)) Log(RunNative("create_dir", "/00/00/2".GetBytes)) Log(RunNative("create_dir", "/00/00/0000/000002".GetBytes)) Click to expand... No one created. Log(RunNative("create_dir", "/test".GetBytes)) Log(RunNative("create_dir", "/test/2".GetBytes)) Click to expand... Both were created. Log(RunNative("create_dir", "/t00/00".GetBytes)) Log(RunNative("create_dir", "/t00/00/0002".GetBytes)) Log(RunNative("create_dir", "/t00/00/000000000002".GetBytes)) Click to expand... No one created. createDir(SD, "/t1/t2"); Click to expand... Failed. I'm shocked... Upvote 0
Log(RunNative("create_dir", "/00/00".GetBytes)) Log(RunNative("create_dir", "/00/00/2".GetBytes)) Log(RunNative("create_dir", "/00/00/0000/000002".GetBytes)) Click to expand... No one created. Log(RunNative("create_dir", "/test".GetBytes)) Log(RunNative("create_dir", "/test/2".GetBytes)) Click to expand... Both were created. Log(RunNative("create_dir", "/t00/00".GetBytes)) Log(RunNative("create_dir", "/t00/00/0002".GetBytes)) Log(RunNative("create_dir", "/t00/00/000000000002".GetBytes)) Click to expand... No one created. createDir(SD, "/t1/t2"); Click to expand... Failed. I'm shocked...
peacemaker Expert Licensed User Longtime User Aug 23, 2024 #5 Ha ! RunNative("create_dir", "/00".GetBytes) RunNative("create_dir", "/00/00".GetBytes) RunNative("create_dir", "/00/00/00".GetBytes) Click to expand... There works ! One by one only starting the root subfolder. Last edited: Aug 23, 2024 Upvote 0 Solution
Ha ! RunNative("create_dir", "/00".GetBytes) RunNative("create_dir", "/00/00".GetBytes) RunNative("create_dir", "/00/00/00".GetBytes) Click to expand... There works ! One by one only starting the root subfolder.