Yz dock - DOS

Discussion in 'Windows Desktop Systems' started by Silvio, May 8, 2003.

  1. Silvio

    Silvio Argentinean Dogo

    Messages:
    156
    HI all
    I have Yzdock and im trying to make a .bat file for:

    Close yzdock->start a game->(when i exit the game)start yzdock again.

    I made this:

    taskkill /IM YzDock.exe
    "C:\Ghost Recon\GhostRecon.exe"
    "C:\Prgram files\Yz Dock\YzDock.exe"
    exit

    It works fine but when its all finished, the DOS window remains open.
    So, how can i make it close itself when it has finished?
    Thanks!
     
  2. I dont know if this could work but why dont u put another taskkill at the end with cmd.exe?
     
  3. lynchknot

    lynchknot Moderator

    Messages:
    800
    This is what I use to close several apps and my dock - then to restart all apps/dock after I close the game.
    Insert into a file then drag and drop into dock - change icon. I have this for each game.

     
  4. Silvio

    Silvio Argentinean Dogo

    Messages:
    156
    Plaguewielder: Logical solution, but didnt work, thanks again!
    Lynchknot:I dont know much about DOS (dont know what the first part does)but working with your template did the job, (only adjust some stuff).
    So thanks both, its FIXED! :D
     
  5. lynchknot

    lynchknot Moderator

    Messages:
    800
    it keeps it minimized :)