n2os Ierakstīts Novembris 22, 2006 Share Ierakstīts Novembris 22, 2006 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 More sharing options...
Val Novembris 22, 2006 Share Novembris 22, 2006 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 More sharing options...
n2os Novembris 22, 2006 Author Share Novembris 22, 2006 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 More sharing options...
Guest ADEX Novembris 22, 2006 Share Novembris 22, 2006 Vienkārši ieliec. Šortkatu ar šo rindu Startup mapē vai tieši reģistrā. Link to comment Share on other sites More sharing options...
Val Novembris 22, 2006 Share Novembris 22, 2006 ADEX jau atbildēja. :-D Link to comment Share on other sites More sharing options...
n2os Novembris 22, 2006 Author Share Novembris 22, 2006 Lielum liels Paldies ADEXam un Val am!!! wiss shanseee... Link to comment Share on other sites More sharing options...
Recommended Posts