473,320 Members | 2,035 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

running Dos commands in the background

VM
Is it possible to run dos commands in the background without the user ever
seeing that the command is running?
When I run the application, I can always see the dos box (even if it's for a
split second).
How can I hide it or minimize it?
Thanks.
Nov 15 '05 #1
2 7286
The ProcessStartInfo class has a CreateNoWindow property. Set it to true and
your DOS process won't pop up a window.

"VM" <Vm> wrote in message news:ec**************@TK2MSFTNGP10.phx.gbl...
Is it possible to run dos commands in the background without the user ever
seeing that the command is running?
When I run the application, I can always see the dos box (even if it's for a split second).
How can I hide it or minimize it?
Thanks.

Nov 15 '05 #2
The ProcessStartInfo class has a CreateNoWindow property. Set it to true and
your DOS process won't pop up a window.

"VM" <Vm> wrote in message news:ec**************@TK2MSFTNGP10.phx.gbl...
Is it possible to run dos commands in the background without the user ever
seeing that the command is running?
When I run the application, I can always see the dos box (even if it's for a split second).
How can I hide it or minimize it?
Thanks.

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: stealthwang | last post by:
I'm still very new to Python, after decideding to learn a true programming language (rather then a scripting language, i like to think i'm a intermediate PHP user). I decided for my first project I...
1
by: Mathias Dahl | last post by:
I am creating a small app called PyQe (http://klibb.com/cgi-bin/wiki.pl/PyQe) to launch commands and programs quickly. I works more or less as I want it now and I have managed to make my window...
8
by: Paul Cochrane | last post by:
Hi all, I've got an application that I'm writing that autogenerates python code which I then execute with exec(). I know that this is not the best way to run things, and I'm not 100% sure as to...
0
by: VM | last post by:
Is it possible to run dos commands in the background without the user ever seeing that the command is running? When I run the application, I can always see the dos box (even if it's for a split...
1
by: Jesper Dk | last post by:
Hi, I would like to create an idle running application that runs in the background using very few resources for the simple purpose to react on WM_QUERYENDSESSION and then invoke some shutdown(or...
0
by: Mr Bounce | last post by:
Hi, Probably well worn ground, this, but im stumped and need some help, if you could: I'm trying to write some code for a windows service that needs to run in the background polling a server...
11
by: news | last post by:
I've a PHP script that does some stuff, zips up some files, and starts an FTP process. I need it to do the Zip and FTP in the background and let the page finish, otherwise the user could have...
8
by: Ravi | last post by:
Hi to all, There is a start button in my page. if user clicks on that then a php program should start and should listen on a particular port. and also user should able to do other tasks on...
1
by: Techidada | last post by:
Hi I am running a background command and want to mointor output of that commands which generate some flag files. When it finish it should be stopped. I tried this open(MON, "$CMD >...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.