I wanna create a file that file name end with a dot in Windows.
use "mkdir a.", but i only create a folder named with "a"
And I just wonder how to write a function to create such directory, thanks
I wanna create a file that file name end with a dot in Windows.
use "mkdir a.", but i only create a folder named with "a"
And I just wonder how to write a function to create such directory, thanks
mkdir \\?\c:\test2.
this creates a folder ending with (.) provide drive letter
Use an extra dot and a trailing backslash:
mkdir a..\
But I highly recommend not to do so. You'll mess the directories up instantly.