A few moments ago I was attempting to run a .bat file in MS-DOS, but I kept getting a barrage of "Access Denied" messages. As I figured this was because I needed to run it as Admin, I simply right-clicked on the file, clicked Run as Admin, and.. well.. nothing happened!
Well, as per usual, I headed over to papa Google and after one semi-swift search (0.34secs), I found out that to run these type of files, you actually have to run the Command Prompt ('aka' MS-DOS) as Admin (Source)! Once you do this, all the commands you enter into the prompt will inherit this and run under Admin privileges!
.. Ok ok, yes, I agree, this is quite simple, and I probably should have deduced this on my own! But, the point is, it happened, and I'm putting this information out there (again) just in the event that someone else falls into the same predicament!
tagged: techie // Comments [0]
Related posts:Google's Android mobile unveiledWomen in Games Conference20 Useful Tools to Make Web Development More EfficientFF, IE, Saf, say hello to Google ChromeHOWTO: Ubuntu Install From USBWhatTheFont
Disclaimer The posts on this blog are provided "AS IS" with no warranties. The opinions expressed herein are my own personal opinions and do not represent any other person's views in anyway.