|
NTFS3g for Linux will happily remove that. We had the same on one of our fileservers. Explorer would hang if you would try to delete the file, popped in a livecd and it deleted it no fuss.
|
# ? Feb 27, 2017 23:15 |
|
|
# ? Jun 8, 2024 10:19 |
|
The subst command can map a folder to a drive, which might reduce the number of characters.
|
# ? Feb 27, 2017 23:22 |
|
Carbon dioxide posted:Delete it from Linux. A live cd/usb, or if you're on windows 10 you can just use the Linux Subsystem for Windows to do so. Just use dir /X and delete the file using 8.3 filename that command gives you. I guess I'm not really sure if that works because I was able to use it just now to *make* a directory that Explorer and mkdir were refusing to create, but Explorer happily deleted it anyway. This is Windows 10.
|
# ? Feb 27, 2017 23:27 |
|
Honest opinion here, ask Raymond Chen, we might get a blogpost out of it.
|
# ? Feb 27, 2017 23:28 |
|
You could use Window's long/weird path name syntax:code:
AIUI the \\?\ stops Windows from interpreting the file name in any way, and makes the OS throw the file straight to the file system layer. See Cause 6. It works with long file names as well ones with invalid characters.
|
# ? Feb 28, 2017 01:08 |
|
Fergus Mac Roich posted:Just use dir /X and delete the file using 8.3 filename that command gives you. dir /X doesn't even give me a shorter filename for that particular file, just blank redleader posted:You could use Window's long/weird path name syntax: code:
Carbon dioxide posted:Delete it from Linux. A live cd/usb, or if you're on windows 10 you can just use the Linux Subsystem for Windows to do so. Guess I will have to give this a try. Obviously this happened before the Win 10 subsystem was a thing. I believe I tried doing it through Cygwin at the time, without any success.
|
# ? Feb 28, 2017 02:47 |
Hargrimm posted:dir /X doesn't even give me a shorter filename for that particular file, just blank I think Total Commander lets you CD to a \\?\ path and navigate and manipulate things that way.
|
|
# ? Feb 28, 2017 09:15 |
|
Deleting using the DOS abbreviation worked for me the last time I had an invalid filename: > del CHARIS~1.M4A
|
# ? Feb 28, 2017 09:50 |
|
You should be able to rename it using wildmarks - for example: rename *.mkv 1.mkv (of course if it's the only mkv file in the dir)
|
# ? Feb 28, 2017 10:04 |
|
Blue Footed Booby posted:Maybe I'm being dense but...what game is it? I don't follow the mock threads so I have no idea what stupid otaku bullshit has entered goon collective awareness recently. Beef posted:Deleting using the DOS abbreviation worked for me the last time I had an invalid filename: Not everything is guaranteed to have a 8.3 filename in NTFS.
|
# ? Feb 28, 2017 10:58 |
|
Speaking of filesystems, Explorer refuses to move one of my work folders because "the path is too long". Hmm what could possibly be too long-quote:C:\Work\Client1\Training\workspace\webapp-workspace\src\main\webapp\app\flat\node_modules\bower-installer\node_modules\bower\node_modules\bower-registry-client\node_modules\request\node_modules\combined-stream\node_modules\delayed-stream\test\integration Oh.
|
# ? Feb 28, 2017 11:32 |
|
It's hilarious that that is still a problem in 2017.
|
# ? Feb 28, 2017 11:56 |
|
Powaqoatse posted:It's hilarious that that is still a problem in 2017. yes, but it is also hilarious that someone would look at "main\webapp\app\flat\node_modules\bower-installer\node_modules\bower\node_modules\bower-registry-client\node_modules\request\node_modules\combined-stream\node_modules\delayed-stream\test\integration" and say "yes, this is fine"
|
# ? Feb 28, 2017 11:57 |
|
(The Word one says "There's a serious disk error in that file"). Filesystems are fun. As for long paths, the Unicode windows API handles them just fine, it's just UI programs that are poo poo. I can't believe loving Explorer still trips on that.
|
# ? Feb 28, 2017 12:34 |
|
omeg posted:Filesystems are fun. As for long paths, the Unicode windows API handles them just fine, it's just UI programs that are poo poo. I can't believe loving Explorer still trips on that.
|
# ? Feb 28, 2017 13:45 |
|
Within the last year, I ran into a commercial encryption API that used a fixed length buffer when you encrypted a file. So if the path you passed was longer than 160 chars, it crashed. The official workaround was to "move it to a directory with a shorter path." Terrifying.
|
# ? Feb 28, 2017 13:56 |
|
SupSuper posted:Speaking of filesystems, Explorer refuses to move one of my work folders because "the path is too long". Hmm what could possibly be too long- Stop using npm 2.
|
# ? Feb 28, 2017 15:19 |
|
Hargrimm posted:This happened with a poorly-programmed downloader I was using years ago. I have a zip file named Episode 12 - Foo_01_02_03_04... and so on. The filename is so long I have been completely unable to find any way of deleting, renaming, or moving it through windows or any application. It's been camping in my Downloads folder since 2010. I've had similar issue in the past with long file names or invalid file names (created by a Linux OS). Try using robocopy to mirror an empty directory on top of directory that contains the file. You'll need to use the /MIR or /PURGE option. You'll want everything else important out of that directory first before you do this... bigmandan fucked around with this message at 15:46 on Feb 28, 2017 |
# ? Feb 28, 2017 15:43 |
|
smackfu posted:Within the last year, I ran into a commercial encryption API that used a fixed length buffer when you encrypted a file. So if the path you passed was longer than 160 chars, it crashed. The official workaround was to "move it to a directory with a shorter path." Terrifying.
|
# ? Feb 28, 2017 17:13 |
|
SupSuper posted:I imagine Explorer is stuck with their 9x era APIs to not risk collapsing the house of cards of shell extensions and third-party software full of hacks and undocumented assumptions that sits on top of it. This is (or was) literally true: https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost-the-api-war/ My favorite part is the sim city exception in Windows. (For anyone who doesn't read the article, the original DOS Sim City would read certain memory after freeing it, which worked in DOS, but in Windows the OS would see the memory is free and do something else with it, causing Sim City to crash. So the Windows team added special handling to the memory allocator to detect when Sim City was running and avoid reclaiming that particular memory after it was freed.)
|
# ? Feb 28, 2017 18:30 |
|
Hammerite posted:yes, but it is also hilarious that someone would look at "main\webapp\app\flat\node_modules\bower-installer\node_modules\bower\node_modules\bower-registry-client\node_modules\request\node_modules\combined-stream\node_modules\delayed-stream\test\integration" and say "yes, this is fine" Nobody looked at it, they just installed poo poo with npm, and the people who made they stuff they installed installed poo poo with npm, etc and now woops, this is hosed up.
|
# ? Feb 28, 2017 20:36 |
|
Powaqoatse posted:It's hilarious that that is still a problem in 2017. On that note https://github.com/mishoo/UglifyJS2/issues/1516 broke our QA environment today
|
# ? Feb 28, 2017 20:45 |
I'm still always surprised when I remember that most unixes have a max path length of 4096 characters. Not that I've ever run into it, but that seems like the sort of thing we should be able to handle better nowadays, you know? Like is it really gonna slow things down so much if we put paths on the heap?
|
|
# ? Feb 28, 2017 20:50 |
|
VikingofRock posted:I'm still always surprised when I remember that most unixes have a max path length of 4096 characters. Not that I've ever run into it, but that seems like the sort of thing we should be able to handle better nowadays, you know? Like is it really gonna slow things down so much if we put paths on the heap? that's what happens when your kernel initially had that constraint, so lazy programmers don't work out how to retry the syscall with a bigger buffer, and then you can't change it because you don't want to rewrite your whole userland, and now it's impossible to change because of all the code that depends on that code and all the new programmers making the same old mistake.
|
# ? Mar 1, 2017 10:10 |
|
Powaqoatse posted:It's hilarious that that is still a problem in 2017. You can enable longer paths in Windows 10. You have to go out of your way to do it currently but it's the first thing I do on a fresh install.
|
# ? Mar 1, 2017 13:04 |
|
ThisIsNoZaku posted:This is (or was) literally true: https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost-the-api-war/ I wonder how many things they did like this that still bite them in the rear end regularly. Special code paths are a special place in hell.
|
# ? Mar 1, 2017 14:05 |
|
Munkeymon posted:On that note https://github.com/mishoo/UglifyJS2/issues/1516 broke our QA environment today This reminds me that JSmin used to change a++ +1 to a+++1
|
# ? Mar 1, 2017 14:44 |
|
Drastic Actions posted:You can enable longer paths in Windows 10. You have to go out of your way to do it currently but it's the first thing I do on a fresh install. i was gonna say, windows has some absurdly shallow maxpath too.
|
# ? Mar 1, 2017 17:11 |
|
Imagine, if you will, a list, selecting locations in something we care aboutPython code:
Now imagine another list, referring to indexes of that list. Python code:
Python code:
In a way that will never crash and alert you to this kind of madness.
|
# ? Mar 1, 2017 22:38 |
|
I cannot comprehend why you would ever do that.
|
# ? Mar 1, 2017 23:06 |
|
Pollyanna posted:I cannot comprehend why you would ever do that. You think it'll fix the problem and that's all you've considered. Right hand doesn't know what left hand is doing. Take your pick Ghost of Reagan Past fucked around with this message at 23:14 on Mar 1, 2017 |
# ? Mar 1, 2017 23:08 |
|
The very first time I ever tried to implement sorting, I made an array of data to be sorted, and then an array of indexes of that data, and I tried to sort the indexes based on the data that they pointed to. I greatly confused myself, then I confused the teacher when I tried to explain what I was doing, then I reimplemented the sort properly in much less space and like half an hour. Anyway, your sordid story kind of reminds me of that -- a high-school-age kid learning about manipulating arrays for the first time and not really understanding what they were doing.
|
# ? Mar 1, 2017 23:49 |
|
Why are APIs of shipping providers so crappy? International company, millions of clients, yet they can't handle their input properly allowing me to get this:quote:Internal server error Good job! the weight of the item I want to ship is 0 also the address doesn't exist both are situations their API handles according to the documentation
|
# ? Mar 3, 2017 18:03 |
|
canis minor posted:Why are APIs of shipping providers so crappy? International company, millions of clients, yet they can't handle their input properly allowing me to get this: But do they claim to handle them at the same time???
|
# ? Mar 3, 2017 18:06 |
|
Powaqoatse posted:But do they claim to handle them at the same time??? Also - their "brand new API" is the API of the company they took over, because everything still uses the same API calls (and some of them stopped working, ups)
|
# ? Mar 3, 2017 19:41 |
|
Powaqoatse posted:But do they claim to handle them at the same time???
|
# ? Mar 3, 2017 20:49 |
|
Gazpacho posted:The better question is, how could you prove that they don't? A/B testing malformed inputs
|
# ? Mar 3, 2017 20:51 |
|
quote:Please enter a password with 8-10 upper and lowercase letters and numbers. Start with a letter and avoid using consecutive, identical characters such as 11 or rr. Explicitly disallows passwords less than 8 or greater than 10 characters in length. Does not allow non alphanumeric characters.
|
# ? Mar 5, 2017 20:42 |
|
return0 posted:Explicitly disallows passwords less than 8 or greater than 10 characters in length. Does not allow non alphanumeric characters. Demand that the word "password" is part of the password so our admins don't get confused.
|
# ? Mar 5, 2017 20:45 |
|
|
# ? Jun 8, 2024 10:19 |
|
return0 posted:Explicitly disallows passwords less than 8 or greater than 10 characters in length. Does not allow non alphanumeric characters. I've only seen that sort of thing on systems where the password occasionally has to be entered on a phone. The length limitation baffles me, though; I can't think of a reason for that at all.
|
# ? Mar 5, 2017 21:46 |