Solved

startup.cmd

Posted on 1997-08-20
3
377 Views
Last Modified: 2013-12-27
I have following problem with Warp 4.
When booting the system, startup.cmd is in foreground until the desktop
is setting up. Once the desktop is up, startup.cmd looses the focus.
This is a problem for me, because i use startup.cmd to load several
processes and an application which has to be in the foreground
automatically.
Even if i lounch my application with /f option, it doesn't get the focus.
With OS/2 2.11, startup.cmd was always in the foreground.
My question:
Is there a way to keep startup.cmd in the foreground during the whole
boot sequence ? Maybe a setting in the config.sys ?

Thanks for your help,
0
Comment
Question by:um95
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
sbufton earned 100 total points
ID: 1806116
I don't believe that there is any way for you to specify that startup.cmd should be kept in the foreground. What is worth checking, though, is whether you have anything in your Startup folder (inside OS/2 System on the desktop); startup.cmd starts first, then the programs in the startup folder, and each program in the startup folder snatches focus away from the previous program.

I can only think of two ways you could try to make your program come up in the foreground: start it as the last item in startup.cmd *after a pause* long enough to make sure that the desktop has completely started, or move the call to start it out of startup.cmd and put a shadow of the program into the Startup folder, again as the last item.
At the moment, I can't think of a way for you to put a pause in the startup.cmd, though. Perhaps there is some free- or shareware program which would do that.
0
 

Author Comment

by:um95
ID: 1806117
In fact, the real problem after some more tests is:
Even if you launch a program with /f option from startup.cmd after the desktop is up, the /f has no effect.
It seems to be impossible, to launch a program in foreground from startup.cmd after the desktop is up.
0
 
LVL 1

Expert Comment

by:sbufton
ID: 1806118
I guess the problem is that as the desktop starts, the WarpCenter (in Warp 4) and the Launchpad (in Warp 3) get started, snatching the focus away from other programs which were started before.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Computer locks up daily 10 81
Veritas Asymmetric Cluster 2 356
Comments on the use of ftp server/client on OS/400 AS/400 4 106
Safe to create an image of a failing SSD? 17 121
Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question