If you then use pdoc Module::Name instead of perldoc Module::Name you get the docs formatted as HTML in a browser window. It's best to store the macro(s) in a file and start the Command Prompt via a shortcut like this: %windir%\System32\cmd.exe /F:ON /k doskey /macrofile="%USERPROFILE%\doskey.mac"