• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to start .exe as background process from .bat

Lazy8s

Golden Member
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.
 
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.
 
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.
 
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. 😛
 
Back
Top