DEV Community

taijidude
taijidude

Posted on • Edited on

1

Had to use the windows cmd...

Yesterday, i had to use the windows cmd for a while. Yes, you are right dear reader... that was so wrong.

Alt text of image

😅 I don't want to do this again. But anyway, here are my notes on it:

Item Description
f7 Brings up the command history of your cmd session
;,space,tab,= Those are the standard delimiters. Those are basicly whitespace
doskey Sets an alias for a command. "doskey alias=OldCommand"
Rem, :: Starts a comment
move moves stuff
ren renames stuff
copy copies stuff
del deletes stuff
RD, RMDIR deletes Folders
net use lists all mapped network drives
net use a: maps the network drive to the letter
net use a: /delete deletes the mapped drive

If you want to delete the whole folder recursive the statement has to look like this:

rmdir folderName /S /Q 
Enter fullscreen mode Exit fullscreen mode

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (2)

Collapse
 
taijidude profile image
taijidude

Thank you for the advice. :-) I use powershell a lot. But in this particular case i had to do work in server with minimal rights and an old windows Version which didn't come with powershell.

 
taijidude profile image
taijidude

Rightfully so! Powershell can be a huge help. Because i like powershell so much, i poked a bit fun at the cmd with the crying in the shower GIF. 😊

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay