Jump to content

Kaa nosleept Command Promt logu?


n2os
 Share

Recommended Posts

Cveiki bootisti!

 

Nu taa ir failis (*.bat) kas iebaazts startupaa un pie kompja iesleegshanas palaizhas un minimizeejas, bet

nu ir radusies vajadziiba pasleept vinju bet taa lai vinsh straadaatu un task managerii seedeetu bet taskbaaraa nabuutu..

 

Paldies jau ieprieksh!

Link to comment
Share on other sites

The coolest way is to make the batch file run totally

invisibly. This is just a little dangerous because your

batch file MUST be able to close itself and MUST never

produce an error which might require user input.

Otherwise the batch file will hang invisibly until

system shutdown or until someone kills it with the task

manager. To do this trick REQUIRES that you have Windows

Scripting installed. Scripting is standard on Win98 and

newer, and is an optional free download for Win95. To

test, type "wscript" in the Start/Run dialog. If you get

a settings dialog, you have it. If you get an error or

Windows offers to find it for you, you don't have it.

See my scripting web page for more info:

http://www.ericphelps.com/scripting/index.htm

Save this one line of text as "invisible.vbs":

CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

To run any program or batch file invisibly, use it like this:

wscript.exe "C:\Wherever\invisible.vbs" "C:\Some Other Place\MyBatchFile.bat"

Link to comment
Share on other sites

Supaa!

 

Paldies Val sanaaca!

 

 

 

Nu tagat uzradaas jautaajums kaa sho briinumu dabuut startapaa...?

 

Tb lai tiek palaista shaada rinda ''wscript.exe "C:\invisible.vbs" "C:\kase_blb.bat"''?

Link to comment
Share on other sites

Guest
Slēgta tēma, pievienot komentāru nav iespējams.
 Share

×
×
  • Izveidot jaunu...