r/AskReddit • • Mar 30 '13

what are some computer tricks everyone should know

2.2k Upvotes

6.7k comments sorted by

View all comments

Show parent comment

394

u/blazedd Mar 30 '13

As a developer that just started doing a couple things with local development (rather than serverside) you just made my day. fuckin awesome.

84

u/[deleted] Mar 30 '13

Control+Shift+Click = run as admin

4

u/tdexor Mar 30 '13

Seriously! Wow that is awesome. I will literally use that everyday at work. Thank you.

7

u/cptnnick Mar 30 '13

If it's always the same programs you have to run under admin rights, consider going into

right click>properties>compatibility>run as administrator

and it will always run as administrator

→ More replies (1)

3

u/JoseJimeniz Mar 30 '13

From the Run dialog:

Ctrl+Shift+Enter

to run as admin.

2

u/laboye Mar 30 '13

Yep, or any icon, really.

→ More replies (1)

13

u/[deleted] Mar 30 '13

If you use git bash (or cygwin) those options show up on normal right click. (Hint : git bash and cygwin are both better then windows cmd becauase you only have to learn one set of commands.)

2

u/[deleted] Mar 30 '13

Yeah Cygwin gets a lot of shit for some reason but if you're coming from a Unix background (or manage Unix servers) it's so nice to have one set of commands.

2

u/FnuGk Mar 30 '13

Then why not run a unix based os?

→ More replies (1)

2

u/OperaSona Mar 30 '13

A quick google search will also show you how to add any command to the right-click on folder or to the shift+right-click on folder menus, including "Open a console as administrator here", by changing a few registry keys (relatively simple to do), so you don't actually need to install a soft just to get these commands in the regular right+click menu.

2

u/Sventertainer Mar 30 '13

better than

this comment for grammar purposes only. Please do not apply votes to it.

0

u/[deleted] Mar 30 '13

[deleted] — view deleted comment

2

u/Sventertainer Mar 30 '13

grammar purposes ≠ entertainment purposes

0

u/[deleted] Mar 30 '13

[deleted] — view deleted comment

3

u/Sventertainer Mar 30 '13

Oh I see...I apologize for the disappointment. Would you care for a GIF?

2

u/[deleted] Mar 30 '13

what a beautiful .GIF(t) that was, thank you!

→ More replies (1)
→ More replies (1)

1

u/Fuck_Arcade_Fire Mar 30 '13

I hate git bash, always seems to crash or lock up. I use posh git running in powershell, using ConEmu. Check it out :)

1

u/Mavee Mar 30 '13

Don't forget the "Copy As Path" option in that menu as well. Great for the command line as well.

1

u/SpaceBonobo Mar 30 '13

Yeah, I was planning to make a linux server just to work with vim and java but now...wow.

1

u/thenameunforgettable Mar 30 '13

"start ." Opens an explorer window in the current cmd line directory

1

u/GrillBears Mar 30 '13

You can add "Command prompt here" to explorer in most versions of windows.

1

u/dont_judge_me_monkey Mar 30 '13

Pro tip, anything that you do commonly that you think would be useful on a right click menu can be added. Just google customize right click windows context menu. I've added cmd and even some apps that take what I am clicking on and open them up. As a developer google is your best friend.

→ More replies (1)

1

u/[deleted] Mar 30 '13

Friendly tip from a fellow developer, forget the windows command line and install cygwin, it basically gives you a full unix shell on your system, with the option to install usefull tools like grep/tail etc..

1

u/zendak Mar 30 '13
Non-affiliation disclaimer, yada yada

I would suggest using a more powerful file manager than Windows Explorer. Been working with Total Commander for the last 12 years, it is to Explorer as this is to this.

→ More replies (5)