Latest post of the previous page:
pepakThanks for all the info..
I was desperately trying to create some illegal-conditions, not knowing the full API details.
Got so frustrated that I ended up using a hex-editor to directly edit the partition table.
Anywho, bricked my laptop for a couple days, till I got a boot-cd.. Wont be doing that again.
Would you happen to know the names of the API(s) which allow this, or have a link to them??
I knew there were different API's for enumerating (vs renaming/deleting/etc), but not multiple-ones to rename.
My guess is that such API's also accept the NT namespace convention, soas to allow POSIX?
Been looking through links like: https://______/en-us/windows/win32/api/fileapi/
and: https://______/en-us/windows/win32/fileio/file-management-control-codes.
Where ___ = docsDotmicrosoftDotcom
I know its possible to mod some API's behavior by sending them path-prefixes like \\?\
My goal is to determine which API FarManager uses to rename, & maybe the format passed to it.
Any help or advice in determining this would be greatly appreciated!
Now that I've got the app, I did try F7, but it only creates one-directory per F7.
Does FarManager support macros? I'd love to create multiple "BadNames " at varying PathDepths.
It does remember LastDirName, so that makes it quicker.. No big deal, I can always batch it.
Again, thanks for the info!
CliffyBoy
Great news, huh! An open-source solution, I was beginning to think it wasnt impossible.
Sorry I didnt try it out earlier, I was still waiting on an answer about the portability.
I confirmed this solution over at the 'other' forum, so everyone knows that it works 100%!
Soooo much faster than my batch, lol... Have you tested this with Unicodes in FolderName??
That's something that'd likely break the batch.. (havent been able to break it otherwise).
So that's another major improvement, not to mention this is all graphical.
Judging by LuaFar's mask-presets, you can tell the authors had illegal-chars in mind.
To see the presets, just backspace thru the FileMask char-by-char until they appear..
Be wary: The version I downloaded had some bad expressions in there..
One of my presets was: /.*[/|\":?\* ].* / (2nd / needs a preceding \ to make it valid).
Its was obviously not meant to be left in there like that, it had alot of extra spaces in set too..
I wanted to check the syntax, but havent found a manual that I can read.. I dont do Russian.
Wish I could create some true illegals like <|:> etc for testing, but I'm done with hex-editors!
Im just praying we can find out the actual API's name, etc.. Then there is hope.
Glad you found a solution.. Cheers!