News for hackers. Stuff that matters.
Re:I'm “still afraid to use spaces in file names” years old by alerighi on Thursday November 11, 2021 @06:56PM (#29194813)
That annoys me every time I use a Windows system. It was a terrible decision, especially since both the command prompt and the new powershell doesn't accept like bash a backspace before a space, you have to quote the whole path! I get that most users on Windows don't use the shell, but as a developer I do a lot, and every time it's a pain (no wonder they added the WSL in Windows after the failure of Powershell...)
Re:I'm “still afraid to use spaces in file names” years old by rashil2000 on Friday November 12, 2021 @01:20AM (#29196773)
Why would they accept a backslash? Backslash is a path separator on Windows. In most Windows programs, you don't even need to escape the space - arguments can contain spaces and it will understand it, like `notepad My file.txt`

The escape character on PowerShell is backtick, and on cmd it is caret. You don't need to quote everything.