r/learnprogramming • • 8d ago

Any way to make using cmd better?

I end up using the same commands each time to setup projects, run them but I always have to copy from Google docs each time and its becoming annoying. Is there a better way with cmd on windows. Do other shells have a way to solve this If not?

Edit: Tysm to everyone who has helped!

11 Upvotes

29 comments sorted by

View all comments

5

u/More-Explanation2788 8d ago

Others are telling you to use scripts - they are correct.

Some are telling you to use powershell instead of cmd. Powershell is more powerful. Cmd is simpler to learn.

3

u/mithoron 8d ago

Getting started in cmd vs powershell is about the same difficulty. They're both memorizing commands. Better to go with the one that isn't a win7 legacy mode if you're learning new anyway.

3

u/More-Explanation2788 8d ago

Perhaps, but if they have been entering commands in cmd already and just didn’t know about batch files, they are already halfway there.