To run a command line in cmd box in Windows 7 or 8 requires the Windows administrator privilege. The instruction below is for how to run cmd by "Run by Administrator" in Windows 8.

1)     Hit “x” key while pressing down the “Windows” key on the keyboard        
         Note: it opens a menu.
2)     Hit “a” on the keyboard or mouse click on the “Command Prompt (Admin)” menu
3)     Hit the “Yes” button in the “User Account Control” dialog box

Note: a cmd box is opened with Windows administrator privilege.