DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Sudo and Kill commands for Windows  (Read 4,963 times)

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 802
    • Participated in NANY Challenge Thirteen Times
Sudo and Kill commands for Windows
« on: September 17, 2015, 09:53 AM »
http://www.ghacks.net/2015/09/17/sudo-and-kill-commands-for-windows/

I have to edit files / script which are in "\Program Files\" folder and need Administrative rights. Found SUDO useful as I can open the text editor via it in Administrative mode.

I already use SuperF4, still KILL can be useful from command line.

Regards,

Anand

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Sudo and Kill commands for Windows
« Reply #1 on: September 17, 2015, 10:06 AM »
If you just need to edit protected files every now and then, it's easier to launch your editor with administrative privileges - fastest way to do that is launching it with Ctrl+Shift+Enter from the start menu/screen (silly it doesn't work with Win+R).

If, on the other hand, you're often doing stuff in a console, have a look at ConEmu - it's pretty great, and also makes it easy to start a tab with an administrative shell.
- carpe noctem

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 802
    • Participated in NANY Challenge Thirteen Times
Re: Sudo and Kill commands for Windows
« Reply #2 on: September 19, 2015, 03:25 PM »
If you just need to edit protected files every now and then, it's easier to launch your editor with administrative privileges - fastest way to do that is launching it with Ctrl+Shift+Enter from the start menu/screen (silly it doesn't work with Win+R).
Yes and also by right-click on taskbar icon I get administrative option. But I use SUDO from batch file to run a given program in administrative mode.

Regards,

Anand

Original address: https://www.donationcoder.com/forum/index.php?topic=41614.0