"Typing cmd in the run dialog will launch PowerShell as well" What? I'm a big PowerShell fan, but I see the need to keep cmd around for a while. Clobbering it before it's phased out seems problematic.
Microsoft are taking Apple's approach!
Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
101–110 of 350 posts
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#102Earlier quoted context omitted.
There are use-cases where globally removing aliases isn't an option (e.g. scripting for use on a machine that isn't yours). For those, it's also possible to evade the aliasing just by explicitly appending the .exe onto the command. 'pwd.exe' gets you the GNU version.
Wait, the Linux subsystem on Windows inherits that stupid convention of deciding if a file is executable by its name?
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#103Earlier quoted context omitted.
There are use-cases where globally removing aliases isn't an option (e.g. scripting for use on a machine that isn't yours). For those, it's also possible to evade the aliasing just by explicitly appending the .exe onto the command. 'pwd.exe' gets you the GNU version.
Wait, the Linux subsystem on Windows inherits that stupid convention of deciding if a file is executable by its name?
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#104It would be nice, if they would improve the terminal window a bit with tabs and the like (like Gnome Terminal for example).
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#105Hopefully one day Bash will be the default Windows CLI.
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#106Something that irks me is how PowerShell’s default aliases take precedence over binaries in the PATH. To be able to use the GNU utils, you have to put this in your profile.ps1 : Remove-Item Alias:cat Remove-Item Alias:cp Remove-Item Alias:curl Remove-Item Alias:echo Remove-Item Alias:ls Remove-Item Alias:man Remove-Item Alias:mv Remove-Item Alias:pwd Remove-Item Alias:rm Remove-Item Alias:wget
The weird thing was that Powershell for Mac doesn't do this.
So imagine when they packaged that for Mac, that assumption is no longer true.
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#107Why ? Because some linux zealots think it's the best option ? Laughable.
Hey, I'm still on Windows desktop after having tried Linux desktop more times than I can count. But to claim that bash (or most other shells) are only preferable to cmd and powershell if you're a linux zealot is what is truly laughable. If you have ever worked with both there would be no question.
They're different approaches and the only real benefit of bash is that it's super entrenched and extremely widely supported. With the same level of support Powershell would run circles around it. But since we're comparing things in the real world, Powershell is roughly equivalent to bash for most tasks. Better for some, worse for others.
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#108Earlier quoted context omitted.
There are use-cases where globally removing aliases isn't an option (e.g. scripting for use on a machine that isn't yours). For those, it's also possible to evade the aliasing just by explicitly appending the .exe onto the command. 'pwd.exe' gets you the GNU version.
Wait, the Linux subsystem on Windows inherits that stupid convention of deciding if a file is executable by its name?
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#109Btw did anyone noticed that in windows 10 you can resize cmd.exe to more than 80 characters width! When I first saw it I almost cried.
also CTRL+V pastes by default now, but yea you're no longer locked into half the screen by default. I wonder why that's been like that for so long? Must be some reason...
I don't know what's changed now but they've rolled that policy away. Maybe virtualization?
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#110Btw did anyone noticed that in windows 10 you can resize cmd.exe to more than 80 characters width! When I first saw it I almost cried.