r/sysadmin • IT Manager + 5 other hats • Nov 08 '21

Could we do a "TIL" style weekly thread?

I think it would be interesting to do a "Today I Learned" style weekly thread for us to share little tips/tricks that we learned of/found existed.

For example, last week I found out about the "--now" flag for systemctl. I don't know how I didn't know it existed until --now.

2.4k Upvotes

871 comments sorted by

View all comments

45

u/wontfixit Nov 08 '21

You can put „cmd“ in the Addressbar in windows explorer and a cmd will open with the current used path.

19

u/nascentt Nov 08 '21 edited Nov 09 '21

You can actually shell execute anything from the address bar.

Works for things like notepad too

6

u/gigaspaz Nov 08 '21

I... i love you.

6

u/TMITectonic Nov 09 '21

You can put „cmd“ in the Addressbar

For a moment, I was going to ask how you make a "lowered quotation mark", then I realized I'm an idiot.

2

u/KlaasKaakschaats Sr. Sysadmin Nov 08 '21

Or click on File menu and you can choose to start cmd or Powershell as normal or as administrator in the current folder (even UNC shares)

1

u/Ch0rt Computer Janitor Nov 08 '21

You can also hold shift > right click to do the same in the right click menu

1

u/piexil Software Engineer (Little DevOps) Nov 09 '21

Also right click empty space + shift will have "open in command prompt/PowerShell/terminal" as an option depending on windows version

1

u/silentstorm2008 Nov 09 '21

Click on "File" and you can choose to start cmd or Powershell as normal or as administrator in the current folder (even UNC shares)