Hello, is there a way to change the cmd title? I wrote a vbs program. But the dos title is bad.
The name ist c:\windows\system32\cscript.exe I try it with:
title the_name and title ="name"
But both doesn't works.
Thanks for help.
Hello, is there a way to change the cmd title? I wrote a vbs program. But the dos title is bad.
The name ist c:\windows\system32\cscript.exe I try it with:
title the_name and title ="name"
But both doesn't works.
Thanks for help.
Do you need to change it in the code or do you just want it to look a little nicer? You could possibly do it by creating a shortcut to your script and then changing the name of the shortcut (in the properties of the shortcut, change to the General
tab and change the name there).
Unfortunately you cannot do that from within the script using any of the WSH objects.
The only way to do it is to launch the script via an intermediary (a .bat using the TITLE command or another script using a %comspec% argument).
Did you fins a solution. I am also using one master script to start a number of child scripts and would like to rename the title bars on each.