Fri, Jun 17 2005

Source code released for command line tool: ISADMIN

Here is a little command line tool I wrote called ISADMIN. The program runs on Windows 95/98/NT/2000/XP/2003 and up. Just run this little program from the command line and it will tell you whether or not the logged in user has administrative rights. The utility has a silent mode which makes it a perfect tool for installers and batch files. In addition to the tool's output (which is not displayed in silent mode), you can determine whether or not the user has administrative rights based on the error level returned on program exit (errorlevel 0 means that the user has administrative rights). Also note that on Windows 95, 98, and ME, this program will always report that the user has administrative rights.

I've decided to release the source for this program. Feel free to use the program or its source code in any way you wish.

Requirements: Windows 95/98/NT/2000/XP/2003+
You can download the source code from here - isadmin_src.zip 44 KB
You can download the precompiled executable from here - isadmin.zip 38 KB

posted at: 05:30 | path: /Programming/OPB/Utilities | Permanent link to this entry | Add/View comments (1 existing)

 

Older posts (archives)...






Copyright ©2004-2008 O. Patrick Barnes. All rights reserved.  

Validate XHTML Validate CSS Validate RSS Green Web Hosting! This site hosted by DreamHost.