creating folders (F7) with \ / : * ? " < > | char
Moderators: white, Hacker, petermad, Stefan2
creating folders (F7) with \ / : * ? " < > | char
hello guys,
i have this one problem. i created in total commander folder with name ____name /// - normaly when you do this in explorer it says that you cant create folder with following characters (mentioned in topic name). folder was created but without the last three brackets. i tried to delete the file afterwards in total commander, in explorer, command line, safe mode, various programs, checkdisk for errors on hdd but neither one of these methods worked.
whenever i want do del it, it says 'Cannot read from the source or disk' or 'Cannot find the specified file' ...
here - link - is some more stuff i posted up on other forum before i posted the issue here...
really dunno how to get rid of this file besides formating the hard drive.
any ideas how to solve are appreaticed.
i have this one problem. i created in total commander folder with name ____name /// - normaly when you do this in explorer it says that you cant create folder with following characters (mentioned in topic name). folder was created but without the last three brackets. i tried to delete the file afterwards in total commander, in explorer, command line, safe mode, various programs, checkdisk for errors on hdd but neither one of these methods worked.
whenever i want do del it, it says 'Cannot read from the source or disk' or 'Cannot find the specified file' ...
here - link - is some more stuff i posted up on other forum before i posted the issue here...
really dunno how to get rid of this file besides formating the hard drive.
any ideas how to solve are appreaticed.
soMicrosoft Support Site wrote:Cause 6: The file name includes an invalid name in the Win32 name space
You may not be able to delete a file if the file name includes an invalid name (for example, the file name has a trailing space or a trailing period or the file name is made up of a space only). To resolve this issue, use a tool that uses the appropriate internal syntax to delete the file. You can use the "\\?" syntax with some tools to operate on these files, for example:
del "\\?\c:\path_to_file_that contains a trailing space.txt "
Code: Select all
del "\\?\c:\ ____name ///"
should work.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
ok. i tried...
the name of the folder is without those last three brackets tho in the first place i named the folder like that. instead of that the folder has free space at the end of it (like in second example).
of these, only the first one works... that is i get a command line window where it asks me YES/NO (to del that folder is suppose). i (Y) it. the folder is still there... so i tried the second and third option as written above but the command line window only flashes there for like 0.1s and disappears.
Code: Select all
del "\\?\F:\[ lala & lalala ]\![ lalalal & lalalala ]\___name"
Code: Select all
del "\\?\F:\[ lala & lalala ]\![ lalalal & lalalala ]\___name "
Code: Select all
del "\\?\F:\[ lala & lalala ]\![ lalalal & lalalala ]\___name ///"
the name of the folder is without those last three brackets tho in the first place i named the folder like that. instead of that the folder has free space at the end of it (like in second example).
of these, only the first one works... that is i get a command line window where it asks me YES/NO (to del that folder is suppose). i (Y) it. the folder is still there... so i tried the second and third option as written above but the command line window only flashes there for like 0.1s and disappears.
when i rewrite it in cmd it doesnt quite get that '&' char between the folder names so i wrote it in the TC command line instead... and it says nothing. i just say Yes and then the cmd quits and thats it (and the folder is still there).
i am running WinXP ProfessionalSp1 and the disk is non-system NTFS partition.
i am running WinXP ProfessionalSp1 and the disk is non-system NTFS partition.
Last edited by ooo888 on 2006-03-13, 20:34 UTC, edited 1 time in total.
Folder... Del will not delete folder.ooo888 wrote:when i rewrite it in cmd it doesnt quite get that '&' char between the folder names so i wrote it in the TC command line instead... and it says nothing. i just say Yes and then the cmd quits and thats it (and the folder is still there).
i am running WinXP ProfessionalSp1 and the disk is non-system NTFS partition.
Use rmdir instead.
Create a button with command "cm_SwitchLongNames" or set a Hotkey in Configuration->Options MIsc:Redefine Hotkeys (keyboard remapping).ooo888 wrote:roentgen666. where can I do that?
By the way: I tried to create a folder "___name ///" and it was created a folder "___name" wich I can delete perfectly well.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
you're wellcomethank you guys
not here. I get: Error: Directory [___name ///] not created.I tried to create a folder "___name ///" and it was created a folder "___name"
Latest versions of XP pro and TC to date. NTFS partition
[later edit]
funny TC ... not created means created after all
Last edited by roentgen on 2006-03-13, 21:04 UTC, edited 1 time in total.
TC for Linux please!