T
Tyler Durden
Is possible to run a .bat file on Windows XP without showing its window?
Thanks to everyone!
Thanks to everyone!
Tyler said:Is possible to run a .bat file on Windows XP without showing its window?
Tyler Durden said:Is possible to run a .bat file on Windows XP without showing its window?
Thanks to everyone!
Pegasus (MVP) said: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
I have .bat files that I use for copying specific files.Tyler Durden said:Pegasus, it is a simple and pure bat file that copy some files.
Ramesh said: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 said:Is possible to run a .bat file on Windows XP without showing its window?
Thanks to everyone!
Tyler Durden said: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 said: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 said:Is possible to run a .bat file on Windows XP without showing its window?
Thanks to everyone!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.