cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
girishkatti123
Level 7

Geting Handle for Command Window

Hi,
How can I get Handle for a Command Window
I used FindWindow("cmd",""). But it returns 0 always.

Can anyone suggest on this.

Thanks & Regards
Girish Katti
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Perhaps use a tool such as Spy++ to find the "window class" that you pass to FindWindow; perhaps instead of "cmd" it's "ConsoleWindowClass" or the like?
0 Kudos
girishkatti123
Level 7

Hi,
Thanks for the reply.
Thats was very use info.
0 Kudos