How to bring CMD.EXE window to top? (I would prefer a command or script without a need to compile anything).
Not sure there is any 'out of the box' functionality that will do that, but there are a few products: Console Windows Tweaks
Your question is extremely vague.
It sounds like you're asking for "alt+tab".
With compiling:
Easy, just use Win32 API to FindWindow according to its title or class and then send it a message or bring it to the front.
Without compiling:
I'd suggest you'd find a command line utility that can do the equivalent of FindWindow and SetForgroundWindow, so you could call it from a batch file or any other script.
The Wscript.Shell object accessible from Windows Script Host (either VBS or JS) has a method called "AppActivate" which, when passed a window title, will attempt to "activate" (which may bring it to the foreground if it's not minimised).
The following code snippet in VBScript worked on my machine:
Set WShell = CreateObject("WScript.Shell")
WShell.AppActivate "Command Prompt"
(Edited: Initially I hadn't tried it. Then I did)