Archived from groups: microsoft.public.windowsxp.newusers (More info?)
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?
Archived from groups: microsoft.public.windowsxp.newusers (More info?)
ezio wrote:
> 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.
Archived from groups: microsoft.public.windowsxp.newusers (More info?)
"ezio" <ezio@discussions.microsoft.com>
wrote in news:15EBEFEB-473C-4CC4-A479-A7F78FD1F2BB@microsoft.com:
> 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.
--
_________________________________________________________________
******** Post replies to newsgroup - Share with others ********
Email: lh_811newsATyahooDOTcom and append "=NEWS=" to Subject.
_________________________________________________________________
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.