Spyke
lemmy.ca

How much fun would it be if each additional R showed you another level down the directory tree though?

45
lemmy.world

Oh gods I can't remember if there's a DOS command for that. I've finally forgotten. ^I'm^ ^free^

2

i'ma go ask and see if it was the other way around hold on

WAIT that might make me remember. Ken can sleep another hour.

1
lemmy.world

ls works on Windows just fine. PowerShell understands this command since a long time, maybe even since the very beginning (not looking through the git commits, just to find out).

13
fleemreply
piefed.zeromedia.vip

heck, you're right.

also dir works on linux but it is not as pretty, (i am finding out as we speak)

This meme is pivoting to education bait?

16

Powershell is starting to become more common. But simple directory listing is actually much faster in cmd as Powershell treats everything as an object while cmd just dumps the contents as text.

5
infosec.pub

Well who uses powershell? Common people open command prompt and it doesn't support ls.

5
anarchist.nexus

I can tell it's been a while since you used windows 😁.

Some of us are forced to btw.

Modern "command prompt" on windows is called Terminal and supports both PowerShell and CMD commands.

6
BCsvenreply
lemmy.ca

Terminal is just the tabbed app to open any command line interface.

1

Oh, man, don't.

Powershell is so less worse, it does not even compare.

6

Well who uses powershell? Common people open command prompt and it doesn’t support ls.

Windows Terminal is shipped with Windows and defaults to PowerShell. Too bad Windows ships some ancient PS version by default but winget install Microsoft.PowerShell isn't that complicated.

4
fedinsfw.app

Who is the “common person” listing directory contents via the command line instead of the explorer window?

4

Hi it is me. When you have 500 files in a folder sometimes

dir Jobnumber_string*.part is faster than using explorer

2
woelkchenreply
lemmy.world

Tech workers

I don't. Not that this has to be true for others but I use the command line for ping, ipconfig, and winget.

3

I remember living in a place with such shitty internet I had scripts for ipconfig release and renew on my desktop because I needed them five times a day.

1

I manage hundreds of windows server VMs as a matter of routine. At that scale the efficiency of the command line wins out.

2
feddit.org

You could define Powershell as the default shell in Windows 10, so that you wouldn't need to explicitly invoke it every time - although, which (non-technical) user does this?

Windows 11 changed the default to Powershell so that you'll always land in Powershell and need to invoke the old CMD explicitly. Also the new Terminal (optional in Win10, Default in Win11) defaults to Powershell.

3

Wait. I always just invoked cmd explicitly to get the command prompt. What the hell was I supposed to be doing to get the command prompt

1

You reached the end