View Single Post
Old 01-11-2011, 02:04 AM   #20
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by squawker View Post
I thought I was losing it till I found this thread. Still doesn't work in batch files in XP.
I believe it does, did you try to prefix it with the start command.

Start /wait ebook-convert.exe ....

The /wait option if you're stringing together commands in the batch file.

Spoiler:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>start /?
Starts a separate window to run a specified program or command.

START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
[/WAIT] [/B]
  • "title" Title to display in window title bar.
  • path Starting directory
  • B Start application without creating a new window. The application has ^C handling ignored. Unless the application enables ^C processing, ^Break is the only way to interrupt the application
  • I The new environment will be the original environment passed to the cmd.exe and not the current environment.
  • MIN Start window minimized
  • MAX Start window maximized
  • SEPARATE Start 16-bit Windows program in separate memory space
  • SHARED Start 16-bit Windows program in shared memory space
  • LOW Start application in the IDLE priority class
  • NORMAL Start application in the NORMAL priority class
  • HIGH Start application in the HIGH priority class
  • REALTIME Start application in the REALTIME priority class
  • ABOVENORMAL Start application in the ABOVENORMAL priority class
  • BELOWNORMAL Start application in the BELOWNORMAL priority class
  • WAIT Start application and wait for it to terminate command/program If it is an internal cmd command or a batch file then the command processor is run with the /K switch to cmd.exe. This means that the window will remain after the command has been run.
DoctorOhh is offline   Reply With Quote