Carol and Hugh, thanks. I tried just "exit" at the very end and that didn't do anything. The cmd window stays open **during the process of the program running** and that's what I want to close. The cmd window closes fine when I SHUT DOWN the program. I want to get rid of the cmd window **right after it opens**, while leaving the program open as usual and running with no cmd window still open. I tried "exit" (no quotes) in several areas which didn't work. (In one area it never shut down the service when the program was stopped). -Clint
God Bless Clint Hamilton, Owner http://OrpheusComputing.com ----- Original Message ----- From: "Carol Warman" <[EMAIL PROTECTED]> Have you tried the Exit command as the last line (just the word Exit)? This usually closes a DOS command window for me. Hope this helps. Carol Warman ______________________________________________________________ Hi all, can anyone please tell me what I need to add or change to this below for the command prompt window to disappear after starting this batch file? @title HDDTemperature Manager @echo Running HDDTemperature... Wait until it's done. net.exe start HDDTService @"C:\Program Files\PalickSoft\HDD Temperature\HDDTemperature.exe" @echo Stopping unnecessary service... @net stop HDDTService I tried X'ing out of the cmd prompt window and the service is not stopped when the program is closed. This works fine, the service starts and the program starts & runs fine, and the service stops when closing the program. I just need to find a way to get rid of that DOS/command window after the batch file is clicked. Thanks, -Clint ============= PCWorks Mailing List ================= Don't see your post? Check our posting guidelines & make sure you've followed proper posting procedures, http://pcworkers.com/rules.htm Contact list owner <[EMAIL PROTECTED]> Unsubscribing and other changes: http://pcworkers.com =====================================================
