run a .bat file without see opening a window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I make "run as" of a .bat file that starts a .fwd file; it works well but
i have to close the window with the dos command (file .bat), i would like
this doesn't happen, is it possible?

Thank in advance
 
ezio said:
I make "run as" of a .bat file that starts a .fwd file; it works well but
i have to close the window with the dos command (file .bat), i would like
this doesn't happen, is it possible?

Thank in advance

I think I understand what you want. Would the command

Exit

at the end of the batch file do it?

--
The reader should exercise normal caution and backup the Registry and
data files regularly, and especially before making any changes to their
PC, as well as performing regular virus and spyware scans. I am not
liable for problems or mishaps that occur from the reader using advice
posted here. No warranty, express or implied, is given with the posting
of this message.
 
ezio said:
I make "run as" of a .bat file that starts a .fwd file; it works well
but i have to close the window with the dos command (file .bat), i
would like this doesn't happen, is it possible?

Thank in advance

Use "cmd /c <program>" to run your batch file. The shell will exit when
the program exits. You really don't explain well what is starting what,
so it might be that you need to use the start command, as in "[cmd /c]
start /b <program>". Run "cmd /?" and/or "start /?" to see how to use
them.
 
Back
Top