Accessing Admin Command Prompt

Is it possible for the commandLine in the gradle to access the Windows command prompt in administration mode?