Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find a Window title from command line?

Status
Not open for further replies.
Well, I don't know if you can do that with basic commands but you can do that using autoscript. Solution will [link ]look similar to this[/url] However you can set window title for the command window using the basic TITLE command line command. The same can be done if you need to invoke a batch script via start running something like
start "yourtitle" /min C:\maint\cleantmp.cmd
Additionally you might want to set a focus on one of your windows running in session by calling it using its title but without using a script.
You can do that by invoking a command
nircmd.exe win settopmost title "title" 1
using the nircmd tool. I prefer avoiding scripts when possible and personally use GUI (preferrable) or command line tools.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top