on start up i have a bat file run routine things for me
however, the black console pops up and stays open until everything is finished....
anyway to hide it and run it in background ? so it shouldn't appear minimized or system tray.
on start up i have a bat file run routine things for me
however, the black console pops up and stays open until everything is finished....
anyway to hide it and run it in background ? so it shouldn't appear minimized or system tray.
You can't really do that but if you are using the scheduler to run the batch file you can select "don't interact with desktop" when creating the job.
Try renaming your file to .cmd
instead of .bat
.
Or, if you're executing a .exe
try:
start "" "C:\Program Files\SomeProg\someprog.exe"
Create a shortcut to the file. On the new shortcut: Right click -> Properties. Go to the Shortcut tab, and choose "Run: Minimized." (This is assuming you're on WinXP).
I once had a little program which could hide windows based on their title. So my startup batch first set a unique title with title
and then called the other program to hide the window with said title. Worked fine but involves a little programming.
If you don't want to go that way, then you should use the Task Scheduler as tr4656 noted.