Sign in to follow this  
Followers 0
Webster

Naming Title Bar of Window

3 posts in this topic

I currently have three different dos based programs that look identical in a window. I have a pif for each of them which does put a different name on each window, but have not had success in running the pif file with ShellExecuteWait.

So I use the ShellExecuteWait command /w @comspec and a string, a working directory.

Is there a way to set the windows name that this this command produces to something other than "Select C\WINDOWS\system32\cmd.exe"?

Share this post


Link to post
Share on other sites



1. Write a batch file to launch your dos program.

2. Use the "title" command in the batch file to name the title bar of the window.

3. Update your PIF to point to the batch file instead of the actual executable.

Share this post


Link to post
Share on other sites

That was a wonderfull tip. Thanks so much.

Sometimes its the little things in life.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0