Re: running a bat file in the background

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ramesh, MS-MVP (ramesh_at_online.mvps.org)
Date: 01/20/05


Date: Thu, 20 Jan 2005 18:46:29 +0530

Answered in setup.deployment.

Hi Deejay,

Use a VBS to call the BAT file.

Example:
http://groups.google.co.in/groups?hl=en&lr=&selm=ez2cFaoMEHA.2628%40TK2MSFTNGP12.phx.gbl

-- 
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org
"deejay" <jcharlu2002@hotmail.com> wrote in message news:5c105ae0.0501182214.2c2451b1@posting.google.com...
Hi all
       I enjoy the contribution of this group very much.  I am
relatively new bat file scripting. here it goes
  I have the bat file  scheduled to run  everytime  a windows xp
machine turns on, the problem is the script runs fine,. the only
problem is a dos window pops up and shows the results. if i shut the
window the scripts stop running, which i do not want. ideally what i
want is to get the bat file working without a window.
So far I have tried help/?, I used some of the commands that might
help but no luck here. 
I have also tried logging in using different accounts and on  2 seperate machines. 
no luck here either.
any help here would be appreciated.
deejay


Relevant Pages

  • Re: Shortcut
    ... > Based on your first suggestion of using a local .bat file to launch ... > database, I have created one and am successfully launching it. ... > open until the Access appliation window is closed or the Cmd Window ...
    (microsoft.public.access.security)
  • Re: del not working in .bat file
    ... Have tried now both with WSH and with the API, without a .bat file, but I can't make it work. ... 'vbHide 0 - Window is hidden and focus is passed to the hidden window. ...
    (microsoft.public.vb.general.discussion)
  • running a bat file in the background
    ... relatively new bat file scripting. ... I have the bat file scheduled to run everytime a windows xp ... machine turns on, the problem is the script runs fine,. ... problem is a dos window pops up and shows the results. ...
    (microsoft.public.windowsxp.help_and_support)
  • running a bat file in the background
    ... relatively new bat file scripting. ... I have the bat file scheduled to run everytime a windows xp ... machine turns on, the problem is the script runs fine,. ... problem is a dos window pops up and shows the results. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: running a bat file in the background
    ... Use a VBS to call the BAT file. ... relatively new bat file scripting. ... problem is a dos window pops up and shows the results. ... help but no luck here. ...
    (microsoft.public.windowsxp.setup_deployment)