I am running Win XP Pro SP2 v2002 on
Dell Optiplex 745, 2GHz DCoreProc, 2GB RAM

I have a Windows NT Command Script (startWebLogic.cmd / CMD File) which I
have to have running in order to access certain web pages on my pc running
through Weblogic. The target in the shortcut is currently,

%SystemRoot%\system32\cmd.exe /k"c:\...\startWebLogic.cmd"

The CMD file opens in a standard windows console and remails open, closing
the window terminates the application meaning I can not access the web pages.

There is no need for me to ever not have this application open or view
anything displayed in the window.

I would like to add this file to the startup folder and have it run in the
background and NOT display a window. This is a corporate PC therefore I am
unable to install any non-windows applications to do this.

Re: Subject: Need to hide a console window. by Mark

Mark
Thu Mar 27 08:24:58 PDT 2008

--hide it.vbs--
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run("cmd /K CD C:\ & Dir>test.txt", 0, false)
--end file--
--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales/help/help_en-us.htm#RateAPostAsAnswer
Mark L. Ferguson
.

"Steve MC" <SteveMC@discussions.microsoft.com> wrote in message
news:5B190A68-24AF-4AAB-8588-07460D8AD8E4@microsoft.com...
> I am running Win XP Pro SP2 v2002 on
> Dell Optiplex 745, 2GHz DCoreProc, 2GB RAM
>
> I have a Windows NT Command Script (startWebLogic.cmd / CMD File) which I
> have to have running in order to access certain web pages on my pc running
> through Weblogic. The target in the shortcut is currently,
>
> %SystemRoot%\system32\cmd.exe /k"c:\...\startWebLogic.cmd"
>
> The CMD file opens in a standard windows console and remails open, closing
> the window terminates the application meaning I can not access the web
> pages.
>
> There is no need for me to ever not have this application open or view
> anything displayed in the window.
>
> I would like to add this file to the startup folder and have it run in the
> background and NOT display a window. This is a corporate PC therefore I am
> unable to install any non-windows applications to do this.
>

Need to hide a console window. by SteveMC

SteveMC
Thu Mar 27 09:19:00 PDT 2008


That's done it ... many thanks

Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run "cmd /K CD C:\ & Dir>test.txt", 0, false


"Mark L. Ferguson" wrote:

> --hide it.vbs--
> Set oShell = WScript.CreateObject ("WSCript.shell")
> oShell.run("cmd /K CD C:\ & Dir>test.txt", 0, false)
> --end file--
> --
> Was this helpful? Then click the Ratings button. Voting helps the web
> interface.
> http://www.microsoft.com/wn3/locales/help/help_en-us.htm#RateAPostAsAnswer
> Mark L. Ferguson
> .
>
> "Steve MC" <SteveMC@discussions.microsoft.com> wrote in message
> news:5B190A68-24AF-4AAB-8588-07460D8AD8E4@microsoft.com...
> > I am running Win XP Pro SP2 v2002 on
> > Dell Optiplex 745, 2GHz DCoreProc, 2GB RAM
> >
> > I have a Windows NT Command Script (startWebLogic.cmd / CMD File) which I
> > have to have running in order to access certain web pages on my pc running
> > through Weblogic. The target in the shortcut is currently,
> >
> > %SystemRoot%\system32\cmd.exe /k"c:\...\startWebLogic.cmd"
> >
> > The CMD file opens in a standard windows console and remails open, closing
> > the window terminates the application meaning I can not access the web
> > pages.
> >
> > There is no need for me to ever not have this application open or view
> > anything displayed in the window.
> >
> > I would like to add this file to the startup folder and have it run in the
> > background and NOT display a window. This is a corporate PC therefore I am
> > unable to install any non-windows applications to do this.
> >