14
3
I named a folder " ", the symbol for a space.
In Linux you can create folders with just a space. Now that I've switched over to Windows, I can't move the folder that has the folder named " " in it. Nor can I move anything in the folder itself, or rename the folder.
I have tried Unlocker 1.9.2, and it didn't work either. It asked me to perform the operation at reboot, I agreed and it didn't do anything.
How can I rename the folder named " " from within Windows?
11Switch back to linux and rename it? – Raystafarian – 2013-12-30T15:25:38.637
1That is a workaround, not a solution. Though it may well be the fastest way if you got a liveCD lying around. – Hennes – 2013-12-30T15:27:02.570
no, i don't have a live CD. – user285603 – 2013-12-30T15:33:01.047
1
I am not sure it is possible.
http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx states "Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not."
A single space also counts as ending with a space. :(
Maybe you can avoid the normal Windows shell and user interface by using a different API. E.g. prepend \?\ to paths works to get around some of the normal explorer limits such as the max 260 chars in a directory path. I did not test it with spaces nor do know how to get from this possible starting point to a nice answer.
(Example: [start][run]
\\?\D:\test
opens the folderD:\test
). – Hennes – 2013-12-30T15:41:55.353@user285603 Your best bet is making a live CD then – pratnala – 2013-12-30T15:41:58.763
@user285603 For clarification, can you move the contents of the parent folder somewhere else, so that you can try my (hopeful) answer? – Thor – 2013-12-30T15:54:04.390
Thor: no, i cant move the parent folder. – user285603 – 2013-12-30T16:12:08.210
2Install Cygwin. – Daniel R Hicks – 2013-12-30T17:06:37.127
Believe I hit something similar once - open Powershell and try renaming it from that. – Mark Allen – 2013-12-30T21:33:03.613
Of course, this begs the question: what legitimate reason would one have for naming a folder
? :) – apnorton – 2013-12-30T21:35:43.043