![]() |
|
File extension too long - Printable Version +- Southperry.net (https://www.southperry.net) +-- Forum: Maplers Helping Maplers (https://www.southperry.net/forumdisplay.php?fid=9) +--- Forum: Technical Help (https://www.southperry.net/forumdisplay.php?fid=84) +--- Thread: File extension too long (/showthread.php?tid=11007) |
File extension too long - KajitiSouls - 2009-05-07 In what seems like a classical case of a spell gone wrong, I accidentally created a file that had a name 70+ characters long! It's also a file that I don't want >_> Here's what I tried:
...help? =( File extension too long - butterfλi - 2009-05-07 I don't see restarting the computer in the list of things you've tried. It's likely that some thing is still calling upon that file, hence why it's being so anal about getting deleted. File extension too long - Spaz - 2009-05-07 KajitiSouls Wrote:In what seems like a classical case of a spell gone wrong, I accidentally created a file that had a name 70+ characters long! It's also a file that I don't want >_> Ideas:
I'm going to take a guess and say the total file path is over 260 characters. File extension too long - rassilon - 2009-05-07 Try checking the disk for errors? Maybe you somehow created an erroneous file name (which the OS shouldn't allow in the first place, but when you mention "spell" perhaps you bypassed some sanity check). Boot to a Linux CD (such as System Rescue CD) and mount the disk with that, try to remove the file that way. @Spaz: Wow, didn't realize there was a special syntax for "extended length!" File extension too long - KajitiSouls - 2009-05-07 butterfli Wrote:I don't see restarting the computer in the list of things you've tried. It's likely that some thing is still calling upon that file, hence why it's being so anal about getting deleted. I dunno which error would get thrown first, but it was suppose to be a .png, and the computer even thinks so. It cannot be used in any way that I could find however. Spaz Wrote:Ideas: File name does not have any spaces in it. It does have a period near the beginning however. In the Recycle Bin, the file directory isn't over 260 characters. Um, upon typing this, I decided to clear the Recycle Bin again since I had more scrap data from my programming, and miraculously the damned file actually got deleted. I wanted to try out your suggestions, but then again I didn't want to make another bad file like this one because it was causing me so much trouble. Topic can close I guess. File extension too long - Spaz - 2009-05-07 "path" refers to directory + filename, not just directory. http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx has everything you ever wanted to know and more about file names in Windows. In particular: "The shell and the file system have different requirements. It is possible to create a path with the Windows API that the shell user interface might not be able to handle." I'm going to guess whatever you used to create the file uses \\?\ syntax when creating a file and so bypasses some of the sanity checks. |