Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > run a .bat file without see opening a window

run a .bat file without see opening a window

Forum Windows XP : Windows XP General Discussion - run a .bat file without see opening a window

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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?

Thank in advance

Sponsored Links
Register or log in to remove.

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.

Reply to null

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.
_________________________________________________________________

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > run a .bat file without see opening a window
Go to:

There are 638 identified and unidentified users. To see the list of identified users, Click here.

Please mind

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.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them