Guest Tyler Durden Posted August 3, 2008 Posted August 3, 2008 Is possible to run a .bat file on Windows XP without showing its window? Thanks to everyone!
Guest Shenan Stanley Posted August 3, 2008 Posted August 3, 2008 Re: Running a .bat file without window Tyler Durden wrote: > Is possible to run a .bat file on Windows XP without showing its window? cmdow.exe However - it would likely be discovered by your AV software and quarantined. -- Shenan Stanley MS-MVP -- How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
Guest Pegasus \(MVP\) Posted August 3, 2008 Posted August 3, 2008 Re: Running a .bat file without window "Tyler Durden" <abuse@antispam.org> wrote in message news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... > Is possible to run a .bat file on Windows XP without showing its window? > > Thanks to everyone! You can use the "Start" command to minimize the window that the batch file runs in. This makes it less obtrusive but it's not exactly invisible. Perhaps you tell us what exactly you're trying to achieve. There are some methods that will make a process completely invisible.
Guest Tyler Durden Posted August 3, 2008 Posted August 3, 2008 Re: Running a .bat file without window Thanks to both of you. I would like to make the process transparent to the user, without his attention or a undesired interaction. Already know of the cmdow.exe, but the possibility of it being detected as malware is a risk that we cannot afford. "Tyler Durden" <abuse@antispam.org> wrote in message news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... > Is possible to run a .bat file on Windows XP without showing its window? > > Thanks to everyone! >
Guest Pegasus \(MVP\) Posted August 3, 2008 Posted August 3, 2008 Re: Running a .bat file without window Sorry, you did not really say anything about the process you have in mind, only that you wish to hide it. "Tyler Durden" <abuse@antispam.org> wrote in message news:OeWWkqa9IHA.5928@TK2MSFTNGP05.phx.gbl... > Thanks to both of you. I would like to make the process transparent to the > user, without his attention or a undesired interaction. Already know of > the cmdow.exe, but the possibility of it being detected as malware is a > risk that we cannot afford. > > > "Tyler Durden" <abuse@antispam.org> wrote in message > news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... >> Is possible to run a .bat file on Windows XP without showing its window? >> >> Thanks to everyone! >> > >
Guest Tyler Durden Posted August 3, 2008 Posted August 3, 2008 Re: Running a .bat file without window Pegasus, it is a simple and pure bat file that copy some files. "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message news:O9vDVya9IHA.356@TK2MSFTNGP02.phx.gbl... > Sorry, you did not really say anything about the process > you have in mind, only that you wish to hide it. > > > "Tyler Durden" <abuse@antispam.org> wrote in message > news:OeWWkqa9IHA.5928@TK2MSFTNGP05.phx.gbl... >> Thanks to both of you. I would like to make the process transparent to >> the user, without his attention or a undesired interaction. Already know >> of the cmdow.exe, but the possibility of it being detected as malware is >> a risk that we cannot afford. >> >> >> "Tyler Durden" <abuse@antispam.org> wrote in message >> news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... >>> Is possible to run a .bat file on Windows XP without showing its window? >>> >>> Thanks to everyone! >>> >> >> > >
Guest Pegasus \(MVP\) Posted August 3, 2008 Posted August 3, 2008 Re: Running a .bat file without window You could launch your own service through the netlogon script, using srvany and instsrv. It's a bit more work than inserting a couple of copy commands into the startup script but it will certainly make the process invisible. See here for details: http://support.microsoft.com/kb/137890 "Tyler Durden" <abuse@antispam.org> wrote in message news:OaSoKOb9IHA.5668@TK2MSFTNGP04.phx.gbl... > Pegasus, it is a simple and pure bat file that copy some files. > > > "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message > news:O9vDVya9IHA.356@TK2MSFTNGP02.phx.gbl... >> Sorry, you did not really say anything about the process >> you have in mind, only that you wish to hide it. >> >> >> "Tyler Durden" <abuse@antispam.org> wrote in message >> news:OeWWkqa9IHA.5928@TK2MSFTNGP05.phx.gbl... >>> Thanks to both of you. I would like to make the process transparent to >>> the user, without his attention or a undesired interaction. Already know >>> of the cmdow.exe, but the possibility of it being detected as malware is >>> a risk that we cannot afford. >>> >>> >>> "Tyler Durden" <abuse@antispam.org> wrote in message >>> news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... >>>> Is possible to run a .bat file on Windows XP without showing its >>>> window? >>>> >>>> Thanks to everyone! >>>> >>> >>> >> >> > >
Guest Tyler Durden Posted August 3, 2008 Posted August 3, 2008 Re: Running a .bat file without window Thank you again. "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message news:uU0Bpfb9IHA.5568@TK2MSFTNGP04.phx.gbl... > You could launch your own service through the netlogon script, > using srvany and instsrv. It's a bit more work than inserting a > couple of copy commands into the startup script but it will > certainly make the process invisible. See here for details: > http://support.microsoft.com/kb/137890 > > > "Tyler Durden" <abuse@antispam.org> wrote in message > news:OaSoKOb9IHA.5668@TK2MSFTNGP04.phx.gbl... >> Pegasus, it is a simple and pure bat file that copy some files. >> >> >> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message >> news:O9vDVya9IHA.356@TK2MSFTNGP02.phx.gbl... >>> Sorry, you did not really say anything about the process >>> you have in mind, only that you wish to hide it. >>> >>> >>> "Tyler Durden" <abuse@antispam.org> wrote in message >>> news:OeWWkqa9IHA.5928@TK2MSFTNGP05.phx.gbl... >>>> Thanks to both of you. I would like to make the process transparent to >>>> the user, without his attention or a undesired interaction. Already >>>> know of the cmdow.exe, but the possibility of it being detected as >>>> malware is a risk that we cannot afford. >>>> >>>> >>>> "Tyler Durden" <abuse@antispam.org> wrote in message >>>> news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... >>>>> Is possible to run a .bat file on Windows XP without showing its >>>>> window? >>>>> >>>>> Thanks to everyone! >>>>> >>>> >>>> >>> >>> >> >> > >
Guest Ian D Posted August 4, 2008 Posted August 4, 2008 Re: Running a .bat file without window "Tyler Durden" <abuse@antispam.org> wrote in message news:OaSoKOb9IHA.5668@TK2MSFTNGP04.phx.gbl... > Pegasus, it is a simple and pure bat file that copy some files. > > I have .bat files that I use for copying specific files. For these .bat files I made shortcuts with icons on the desktop, with Properties>Run set to minimized. When a .bat runs, a button appears briefly on the task bar, but no command window appears on the desktop.
Guest Ramesh, MS-MVP Posted August 4, 2008 Posted August 4, 2008 Re: Running a .bat file without window You may use a VBScript to run the batch file: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthrun.asp intWindowStyle Optional. Integer value indicating the appearance of the program's window. Note that not all programs make use of this information. intWindowStyle Description 0 Hides the window and activates another window See: -- Regards, Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] The Winhelponline Blog: http://www.winhelponline.com/blog Windows® Troubleshooting: http://www.winhelponline.com "Tyler Durden" <abuse@antispam.org> wrote in message news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... > Is possible to run a .bat file on Windows XP without showing its window? > > Thanks to everyone! >
Guest Ramesh, MS-MVP Posted August 4, 2008 Posted August 4, 2008 Re: Running a .bat file without window You may use a VBScript to run the batch file: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthrun.asp intWindowStyle Optional. Integer value indicating the appearance of the program's window. Note that not all programs make use of this information. intWindowStyle Description 0 Hides the window and activates another window See: Silent .bat/.cmd file (no window) - microsoft.public.windowsxp.general | Google Groups: http://groups.google.com/group/microsoft.public.windowsxp.general/msg/d281575031842fed -- Regards, Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] The Winhelponline Blog: http://www.winhelponline.com/blog Windows® Troubleshooting: http://www.winhelponline.com "Tyler Durden" <abuse@antispam.org> wrote in message news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... > Is possible to run a .bat file on Windows XP without showing its window? > > Thanks to everyone! >
Guest Tyler Durden Posted August 4, 2008 Posted August 4, 2008 Re: Running a .bat file without window Thank you Ramesh, but on vbs by default the system asks for permition to run it, with a Security Warning. The best solution until now is the cmdow, that could be detected as malware. "Ramesh, MS-MVP" <ramesh@unknownhost> wrote in message news:uvUhRse9IHA.2348@TK2MSFTNGP06.phx.gbl... > You may use a VBScript to run the batch file: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthrun.asp > > intWindowStyle > Optional. Integer value indicating the appearance of the program's window. > Note that not all programs make use of this information. > > > intWindowStyle Description > 0 Hides the window and activates another window > > > > See: > > > > > -- > Regards, > > Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] > The Winhelponline Blog: http://www.winhelponline.com/blog > Windows® Troubleshooting: http://www.winhelponline.com > > > "Tyler Durden" <abuse@antispam.org> wrote in message > news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... >> Is possible to run a .bat file on Windows XP without showing its window? >> >> Thanks to everyone! >> > >
Guest ju.c Posted August 4, 2008 Posted August 4, 2008 Re: Running a .bat file without window This is a great little program that will do what you want. Hidden Start - run apps in the background http://www.ntwind.com/software/utilities/hstart.html ju.c "Tyler Durden" <abuse@antispam.org> wrote in message news:#0gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... > Is possible to run a .bat file on Windows XP without showing its window? > > Thanks to everyone! >
Guest Ramesh, MS-MVP Posted August 4, 2008 Posted August 4, 2008 Re: Running a .bat file without window I don't get the warning screen. Are you running the .VBS from a network share, per chance? -- Regards, Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] The Winhelponline Blog: http://www.winhelponline.com/blog Windows® Troubleshooting: http://www.winhelponline.com "Tyler Durden" <abuse@antispam.org> wrote in message news:uaPj$Ff9IHA.5748@TK2MSFTNGP02.phx.gbl... > Thank you Ramesh, but on vbs by default the system asks for permition to > run it, with a Security Warning. The best solution until now is the cmdow, > that could be detected as malware. > > > "Ramesh, MS-MVP" <ramesh@unknownhost> wrote in message > news:uvUhRse9IHA.2348@TK2MSFTNGP06.phx.gbl... >> You may use a VBScript to run the batch file: >> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthrun.asp >> >> intWindowStyle >> Optional. Integer value indicating the appearance of the program's >> window. >> Note that not all programs make use of this information. >> >> >> intWindowStyle Description >> 0 Hides the window and activates another window >> >> >> >> See: >> >> >> >> >> -- >> Regards, >> >> Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] >> The Winhelponline Blog: http://www.winhelponline.com/blog >> Windows® Troubleshooting: http://www.winhelponline.com >> >> >> "Tyler Durden" <abuse@antispam.org> wrote in message >> news:%230gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... >>> Is possible to run a .bat file on Windows XP without showing its window? >>> >>> Thanks to everyone! >>> >> >> > >
Guest Tyler Durden Posted August 4, 2008 Posted August 4, 2008 Re: Running a .bat file without window I think that this will do it perfectly, I will try and report back here. "ju.c" <bibidybubidyboop@mailnator.com> wrote in message news:etDnOtf9IHA.2324@TK2MSFTNGP06.phx.gbl... > This is a great little program that will do what you want. > > Hidden Start - run apps in the background > http://www.ntwind.com/software/utilities/hstart.html > > > ju.c > > > "Tyler Durden" <abuse@antispam.org> wrote in message > news:#0gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... >> Is possible to run a .bat file on Windows XP without showing its window? >> >> Thanks to everyone! >>
Guest Tyler Durden Posted August 4, 2008 Posted August 4, 2008 Re: Running a .bat file without window Worked just fine, thanks again to all of you. I hope this issue helps someone else too. "ju.c" <bibidybubidyboop@mailnator.com> wrote in message news:etDnOtf9IHA.2324@TK2MSFTNGP06.phx.gbl... > This is a great little program that will do what you want. > > Hidden Start - run apps in the background > http://www.ntwind.com/software/utilities/hstart.html > > > ju.c > > > "Tyler Durden" <abuse@antispam.org> wrote in message > news:#0gjASZ9IHA.1204@TK2MSFTNGP04.phx.gbl... >> Is possible to run a .bat file on Windows XP without showing its window? >> >> Thanks to everyone! >>
Guest blad3runn69 Posted August 15, 2008 Posted August 15, 2008 Re: Running a .bat file without window Cool stuff, thank you kindly for the info ju.c, and thank you to the good people @ ntwind. You are right ju.c it is a very neat solution, muchly appreciated. :)
Guest blad3runn69 Posted August 21, 2008 Posted August 21, 2008 Re: Running a .bat file without window v.cool thank you :)
Recommended Posts