running windows program in batch
What is the program doing that's stopping the user from switching to another
app? It shouldn't be possible to disable multitasking, which is what I think you're saying.
If you want to run the program without having it display a UI, you should
explore the options that CreateProcess gives you.
What is the job in question? Is it actually a Windows app? Or is it a stored
procedure, which is locking the database? The answer depends on what you're
dealing with. (How to stop stored procedures locking the database is outside
the scope of this newsgroup.)
--
Tim Robinson
MVP, Windows SDK
|