Open a program but hidden

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
rfpd
Posts: 78
Joined: 06 Jul 2009 16:19
Location: Lisbon, Portugal
Contact:

Open a program but hidden

#1 Post by rfpd » 01 Aug 2009 03:48

How i with batch open a program hidden??

plp626
Posts: 5
Joined: 17 Apr 2009 00:36
Location: China

#2 Post by plp626 » 02 Aug 2009 05:49

OS: XP

Code: Select all

@if %1* neq 0* mshta vbscript:createobject("wscript.shell").run("%~s0 0",0)(window.close)&exit
rem your program begin

rfpd
Posts: 78
Joined: 06 Jul 2009 16:19
Location: Lisbon, Portugal
Contact:

thanks

#3 Post by rfpd » 02 Aug 2009 09:33

thanks but i have a question where i put the name of the file??????

rfpd
Posts: 78
Joined: 06 Jul 2009 16:19
Location: Lisbon, Portugal
Contact:

error

#4 Post by rfpd » 02 Aug 2009 14:03

that code doesn't result!

Post Reply