|
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
SchedulerDude
Joined: 27 Apr 2015 Posts: 19 Country: Canada |
|
Run batch job program window is minimized |
|
Hello - Not sure if you can help.
If I run a batch job file manually, the program and data file will open full screen. When I run the program using the scheduler, the program opens but in a minimized window and will not activate or maximize in order to sendkeys.
Thoughts?
|
|
Thu Jun 18, 2015 12:35 pm |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
Thu Jun 18, 2015 1:45 pm |
|
|
SchedulerDude
Joined: 27 Apr 2015 Posts: 19 Country: Canada |
|
|
|
Thanks for the reply.
The suggestion provided did not work. The code that I have in a bat file the following code: start /MAX "C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\uedit32.exe" \\WCP10001N5-DTC\FinOps\"ced.txt"
This works fine if I just double click the bat file. However, when I use the 24x7 scheduler using run program or batch file the file opens as an icon on the task bar and will not open maximized. The assumption is that the program window needs to be open in a maximized state in order to use the send keys?
I don't think it matters, but I noticed that the Detached process flag has been disabled with the box being checked. Is it possible this could the part of the issue?
|
|
Mon Jun 22, 2015 2:11 pm |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
External processes are always detached, they are separate OS processes, that's why the Detached option is disabled for them, it's not applicable.
|
|
Mon Jun 22, 2015 2:27 pm |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
Try the following trick.
START /MAX cmd.exe /K "mode 200,70" /C "C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\uedit32.exe" "\\WCP10001N5-DTC\FinOps\ced.txt"
Hoe that works for you.
|
|
Thu Jun 25, 2015 9:54 am |
|
|
ahmedkhan000797
Joined: 12 Jul 2015 Posts: 1 Country: United States |
|
IT Solution Smarter |
|
IT Solution Smarter is a free online Wordpress resource site. IT Solution Smarter was founded in the early days of 2014. The purpose of creating this site is to provide highly professional tips, top quality Tutorials, Practical SEO tips and methods to earn online.
___________________________
HTML Tutorials
|
|
Sun Jul 12, 2015 6:06 pm |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|