Main > Software Forum

Writing batch files. Need some help

Pages: << < (3/3)

ries:

If you want to start seperate programs from batch files do this;


@echo off
start program1.exe
program2.exe


the built in start program will open another window and execute program1.exe.

"help start" in a command windows gives this help screen, you can use it to start programs with different priorities etc.

Starts a separate window to run a specified program or command.

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/WAIT] [/B] [command/program]
      [parameters]

    "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 applicatio
                enables ^C processing, ^Break is the only way to interrupt
                the application
    I           The new environment will be the original environment passe
                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

remember to spice things up use "title" to set the windows title of the command prompt and a nice "color"  command in the beginning of the batch to set the background and font color of the command prompt window...



Popcorrin:

Thanks Ries.  Looks like I should be able to do what I want with the options you gave me.  :)

I was just curious does anyone know if powerstrip would get loaded if I put it in the registry as DougHillman suggested even though I am using mamewah as shell?

Pages: << < (3/3)

Go to full version