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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

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. 😊

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more