|
Answer» hello everyone ,
how can i RUN test.bat file without displaying anything to the user i mean that black screen not showing
thanks This question has been asked before. Even commercial developers have a hard time doing that. Those who ask this question often are people who wish to do secret and harmful things ot other peoples computers. We would like to help, but there is no easy answer we can offer. There is little reason to hide a DOS box from the user if it is only going to be there for a second or two.
Powerful programs that must run in the BACKGROUND are made using guidelines in the SDK (Software Development Kit) from Microsoft. It is beyond the general scope of this forum to help people with making system level programs.
But if you want to learn more about the Microsoft SDK. here is a link to free information and a tutorial. http://quickstarts.asp.net/QuickStartv20/default.aspx Still don't understand why it has to be silent...If it's in an office, just display that the window shouldn't be closed as it is for their benefit or something.It's not because of you that we can't reveal how to make batch files run invisibly, it's because if someone who has bad intentions get's HOLD of it, they could do some nasty things.emulhulk, the question isn't merely about wether you need this for a legitimate use. remember this forum is available from the internet, publically. to anybody. If somebody were to encounter this THREAD (and somebody HAD provided an answer to run a batch file silently) then there is no telling wether they will use it for malicious intent.
Additionally being here for less then a day and telling people who have been here for years how to conduct themselves- and members of the forum staff, no less, is nothing short then inexcusable. To even suggest that your grasp of the "rules" of the forum is greater them somebody who has both followed and enforced them for years is nothing short of amazing.
There was nothing wrong with your question. The more questions like this exist, the more likely someone will see our answer, so the less likely they will post the same question!
Wierd, but it WORKS somehow lol!To emuhulk Glad to see your apology. If you really need the answer to your original question, this is the best forum there is to help people who are new to computer management. The security issue is a very important concern.
BC_Programmer is the one here that can best help you. He knows how to do want you want. But the answer is not what you expect. And he would tell you there is not simple way to hide the presence of batch files because there is almost no need to do it in secret. Even some programs from Microsoft will show the DOS scream until done. The most piratical answer is to re-write the program in a system language, like C and compile it to run as a background task. I would guess that would be what BC woul tell you, if you asked him in a very nice way.
A Google search shows the question has come up years ago and nobody had a easy answer. Batch files are not well suited for running without any visibility to the computer user.
Quote from: Geek-9pm on September 12, 2009, 09:04:29 PM To emuhulk Glad to see your apology. If you really need the answer to your original question, this is the best forum there is to help people who are new to computer management. The security issue is a very important concern.
BC_Programmer is the one here that can best help you. He knows how to do want you want. But the answer is not what you expect. And he would tell you there is not simple way to hide the presence of batch files because there is almost no need to do it in secret. Even some programs from Microsoft will show the DOS scream until done. The most piratical answer is to re-write the program in a system language, like C and compile it to run as a background task. I would guess that would be what BC woul tell you, if you asked him in a very nice way.
A Google search shows the question has come up years ago and nobody had a easy answer. Batch files are not well suited for running without any visibility to the computer user.
well actually- it's a one liner in both vb6 and vbscript.Quote from: emuhulk on September 12, 2009, 08:33:40 PM forum that i tought it can help to develope my project for my internship.
See now it's homework and that's frowned upon in here. If it's homework then ask and explain exactly what it is YOU have done to find the answer. I love google but it costs my neighbours a lot of money to keep me on the internet..Download the app in the attatchments I made, drag a batch file onto it or run like: INVISIRUN.exe PROGRAM.bat It will run the batch program invisible. ----------------------------------------------------------------------------------------------------------------------------------------------- http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html Free compiling software to convert .bat to .exe, you can click Invisible Application to make it invisible. ----------------------------------------------------------------------------------------------------------------------------------------------- Do not use Invisirun.exe for HAX0R batch files as I am not responsible for any damage caused to any comps.
elel302
[attachment deleted by admin]Quote from: elel302 on September 13, 2009, 08:59:57 AMDownload the app in the attatchments I made, drag a batch file onto it or run like: INVISIRUN.exe PROGRAM.bat It will run the batch program invisible. ----------------------------------------------------------------------------------------------------------------------------------------------- http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html Free compiling software to convert .bat to .exe, you can click Invisible Application to make it invisible. ----------------------------------------------------------------------------------------------------------------------------------------------- Do not use Invisirun.exe for HAX0R batch files as I am not responsible for any damage caused to any comps.
elel302
Please delete that post.
|