One of the useful features of the Windows Command Prompt (also known as CMD, CMD line or Command line) is creating, or adding, a text file to the current directory. This is especially useful if you ...
echo Adding 'Open Admin CMD Here' to right-click context menu... :: Add registry key for folders reg add "HKEY_CLASSES_ROOT\Directory\shell\OpenAdminCMD" /ve /d "Open Admin CMD Here" /f reg add ...
Without resorting to VBScript or KIX, is there a way to check for group membership before executing a command?<BR><BR>to the effect of:<BR><BR>if ismember "administrators" goto admin<BR>goto ...