In case you want it... the first batch file contains this code:

-- code below
@echo off
start /min "Uploading Map"  "ftpnew.bat"

exit

-- end

the start /min command starts the batch file minimized so the instand it starts, the first batch ends and closes. Usually less than half a second.

Dan

At 09:56 AM 7/24/2008, you wrote:
Larry,
I have a launch command that launches a batch file. I had a similar problem, the whole time the batch program was running (ftp'ing something every 5 minutes) it had focus and was causing me to stop working. The work around was a batch file that calls the batch file. Yes, the first one still flashes (only momentarily) then the other runs in the backround. This may not be exactly what you need but I get so much from this list I thought I would offer.
Dan

At 09:39 AM 7/24/2008, you wrote:
I have an R:Base program which builds a batch file to perform some system level processing. I can LAUNCH the batch file, it works great.

However, a DOS window flashes on the screen while the batch file operates. There's no output, so there's no need for the window or the flashing.

Can anyone think of a clever way to launch a batch file "invisibly"?

Failing that, does anyone (paging MikeB, paging MikeB, Mr. B please pick up the white courtesy phone) have the STDCALL worked out to do this directly through ShellExecEx?
--
Larry
Dan Champion
 Service Department Manager
Vredevoogd Heating & Cooling
    Grandville, MI. 49418
        616-534-8271 x 114


Dan Champion
 Service Department Manager
Vredevoogd Heating & Cooling
    Grandville, MI. 49418
        616-534-8271 x 114
     

Reply via email to