topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 4:33 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Sudo and Kill commands for Windows  (Read 2772 times)

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 777
    • View Profile
    • Free Portable Apps
    • Donate to Member
Sudo and Kill commands for Windows
« on: September 17, 2015, 04: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

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Sudo and Kill commands for Windows
« Reply #1 on: September 17, 2015, 05: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: 777
    • View Profile
    • Free Portable Apps
    • Donate to Member
Re: Sudo and Kill commands for Windows
« Reply #2 on: September 19, 2015, 10:25 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).

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