How to start .exe as background process from .bat

Lazy8s

Golden Member
Jun 23, 2004
1,503
0
0
Ok, so I now know how to start .js, and a java program as background process (tyvm by the way) but I need to know how to start an executable file the same way. The program has no output. My batch file right now is:

@echo off

start /MIN cppFind.exe bc_d.txt bc_s.tst bch.dll BusinessChart.log BusinessChart.vst BusinessChart.vss BusinessChart.exe BusinessChart.vsl

Minimized is alright but I really want the program to run in the background. There is no output/input it just pops up a blank window for a few min and then goes away when it's done.

Also, I have had terrible luck searching for batch file info on google. Almost ever site says the exact same thing. If you find this on a page somewhere I would love for you to link it to me so I can try and find this stuff on my own. Thank you in advance.
 

Lazy8s

Golden Member
Jun 23, 2004
1,503
0
0
cppFind has absolutely no output. All that comes up is a blank command window that closes as soon as the program is finished. Sorry, I thought that was clear in the original post.
 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
Sorry, was in a rush couldn't elaborate.

The Start and Call commands have no control over how a program runs (other than the /min switch). If cppfind.exe opens a blank window then later closes it then that's what you are stuck with. It sounds like cppfind was written as a win32 console app or the equivalent.

As for batch file info, one of the best resources out there is Windows 2000/xp/2003 helpfiles.
 

Lazy8s

Golden Member
Jun 23, 2004
1,503
0
0
dang alright, is there a way to do it differently if I write it as a different filetype?

I apologize I am a senior undergrad and all I have programmed in is Java, Motorola6800 assembly, SQL, ASP, VB etc. I am totally unfamliar with C++. This is a "learn as I go" process for me. Sorry if these questions light up a bright neon "NOOB" sign above my head because that's definately how I'm feeling right now. :p