The Command Window and SQL Window do not have line numbers. Only editors with a left margin (like you say, the Program Editor and Test Script Editor) can have line numbers.
In the Command Window you can see the current line number in the status bar, and you can use the Edit > Go to Line (Ctrl-G) function to go to a specific line.
------------------
Marco Kalter
Allround Automations