Jump to content

Recommended Posts

Posted

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"?

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...