Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

11
  • 1
    Have you tried simply running C:\Windows\SUA\bin\whoami? A file does not need to be named .exe to be executable.
    – slhck
    Commented Nov 18, 2014 at 12:59
  • @slhck Just tried it, it didn't run. It said 'c:\windows\sua\bin\whoami' is not recognized as an internal or external command, operable program or batch file. (out of interest, what, if any, setting do you have that can make extensionless files run as executable?)
    – barlop
    Commented Nov 18, 2014 at 13:41
  • No idea; I'm a Unix person :) But I'd also guess you need to add the bin directory to your PATH. And maybe then these executables just work.
    – slhck
    Commented Nov 18, 2014 at 13:57
  • @slhck no. you don't need to add the directory to the path if (as you suggested earlier) you give the absolute path(or if you are in the directory and do .\command. i'm largely a windows guy but I know many *nix commands. I already took into account re the path. I just tried adding it to the path, no difference.
    – barlop
    Commented Nov 18, 2014 at 14:04
  • Do you have Bash or KSH on the start menu somewhere? That works for me.
    – dsolimano
    Commented Nov 18, 2014 at 14:14