elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Trabajando con las ramas de git (tercera parte)


  Mostrar Mensajes
Páginas: [1]
1  Seguridad Informática / Hacking / Re: Ficheros .bat en Segundo Plano?¿ en: 8 Septiembre 2011, 00:23 am
Gracias a kamui23
-------------------------------------------------------------------------
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:pepe.bat" & Chr(34), 0
Set WshShell = Nothing
-------------------------------------------------------------------------
Donde, claro está, C:pepe.bat lo sustituyen por tu BAT correspondiente y lo Guardas este script en un bloc de notas y lo renombras a .VBS y lo ejecutas. El .BAT se ejecutará sin el CMD en segundo plano.
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines