Hide Flashing Command Line and Batch File Windows On Startup Skrij Flashing Command Line in Batch File okno ob zagonu
I use a lot of batch files, command line applications, and even Ruby scripts (which run from the command line). Jaz raba veliko od serije slik, aplikacij v ukazni vrstici, in celo Ruby skripte (ki vodi iz ukazne vrstice). One of the things that has always irritated me is the flashing command prompt window when I make a shortcut for a batch file, especially when I put it into the startup folder to run when I first login. Ena od stvari, ki je vedno jezen na mene je utripa zapoved uren okno, ko naredim bližnjico za paketne, zlasti ko sem dal to v začetek zgibalnik teči, ko sem prvič prijavo.
There's a really useful utility that you can use called Obstaja zelo koristen pripomoček, ki ti jih lahko uporabite Hidden Start (hstart) Hidden Start (hstart) , which will start up a command line application hidden in the background, which eliminates the flashing window. , Ki bo zagon uporabo ukazne vrstice skrite v ozadju, ki odpravlja utripajoče okno.
If you launch the utility with no parameters, it will pop up the settings dialog. Če zaženete pripomoček brez parametrov, bo pop up okno nastavitev.

When using this utility, there are three key things to remember: Use the /NOWINDOW parameter to keep the window hidden, use the /D=path argument to make sure that the current directory is set correctly, and make sure to surround your application argument with quotes. Ko uporabljate ta pripomoček, obstajajo tri ključne stvari si zapomnite: Use / NOWINDOW parameter ohraniti skrito okno, uporabite / D = path argument, da poskrbite, da je trenutni imenik pravilno nastavljena, ter poskrbite, da vaše prijave prostorskega argument z quotes.
For instance, if I had a batch file stored in c:\scripts\mybatch.bat, I would start it by using the following parameters in my shortcut: Na primer, če sem imel batch datoteko, shranjeno v c: \ skripte \ mybatch.bat, bi začnem, da s pomočjo naslednjih parametrov v moji bližnjico:
hstart /NOWINDOW /D=c:\scripts “c:\scripts\mybatch.bat” hstart / NOWINDOW / D = c: \ skripte "c: \ skripte \ mybatch.bat"
You'll probably want to copy hstart.exe into somewhere in the system path, for instance C:\windows might work nicely. Boste verjetno želeli kopirati hstart.exe v nekje v sistem poti, na primer C: \ windows bi lahko bilo delo lepo.
Download Hidden Start (hstart) Download Hidden Start (hstart)

Daily Email Updates Dnevni Email Updates
You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:



Hi I need a better Geek than myself to help me out. Halo rabim Geek boljši od mene, da mi pomaga ven. I am dying and am on disability, I don't feel good and major time on the computer is hard on me. Umiram in sem o invalidnosti, jaz se ne počutim dobro in pomembno časa na računalniku, je težko za mene. I initially bought a 250 GB SATA 150 drive and put Vista on it. Sprva sem kupil 250 GB 150 SATA disk in jo Vista na njem. I noticed Battlefield 2142 didn't work to well and my Belkin Nostromo N52 game pad does not have a Vista driver. Opazil sem, Battlefield 2142 ni deloval dobro in moje Belkin Nostromo N52 igra pad nima voznika Vista. I just purchased a 350 GB 300 drive, I know that should be my C drive with both Vista and XP on there to take care of my troubles, plus maybe give me a speed boost, I don't know if that really makes a difference but it is better than Ultra 133 and SATA 150 or whatever they call it. Pravkar sem kupila 300 350 GB disk, vem, da je treba moja C voziti tako z Vista in XP tam, da skrbi za moje težave, plus morda mi hitrost povečala, ne vem, če je to res naredi razliko vendar je bolje kot Ultra 133 in SATA 150 ali karkoli rečejo. Is there going to be a speed difference? Ali bo treba razlike v hitrosti? Anyway in the old 386 days and 486 days, I made a batch file, that game me load up options, one for gaming taking care of that vital first bit of ram, or for regular use. Kakorkoli že, v starih 386 dni in 486 dni, sem naredil batch datoteko, da igra me vstavite do možnosti, ena za igre na srečo, ki skrbi, da je nujno najprej malo ram, ali za redno uporabo. For right now could one write a boot up option bat file that lets hit 1 to boot VISTA for everything but gaming or hit 2 to go to another drive with (the 350 GB) drive with my games and XP on it, then later put VISTA 64 home premium on it. Za zdaj bi se lahko napisali škorenj ki gre gor možnost bat datoteka, ki omogoča hit od 1 do boot VISTA za vse, vendar igranje ali zadeti od 2 do iti v drugo vožnjo s (350 GB) voziti z mojim igre in XP na njej, potem kasneje dal VISTA 64 Home Premium na njej. I do not have the upgradeable version. Nimam nadgradljive različico. I remember in the old days I colored it yellow and after 20 secs it went to the default parameters. Spomnim se v starih časih sem to rumeni barvi in čez 20 sekund je šlo za privzeto parametre. Is there anyone if it is possible who could create a boot up option because the OS Vista and XP respectively are on different drives, until I can fix it the right way. Ali obstaja kdo, če je mogoče, ki bi lahko ustvarili škorenj ki gre gor možnost, saj OS Vista in XP oziroma so na različnih pogonov, dokler ne morem pritrditi to pravi način. Could any one right me a batch file, and where to insert it or is this a long way to do things, I can just change boot up drive in Bios but that is a pain… So much for my home made computer skills and I've built over 20. Bi lahko kateri koli od pravici me batch datoteko in kam vstaviti, ali je to daleč delati stvari, morem šele sprememba škorenj ki gre gor voziti v Bios, ampak, da je bolečina ... Toliko za moj dom, ki računalniških znanj in jaz ve zgradili več kot 20. I get fatigued real easy and can stay with it, like I use to could. Dobim utrujeni resnično enostavna in lahko ostanejo z njim, kot da sem se lahko uporabi. Anyway just asking. Kakorkoli samo vprašam. I love your site and while trying to figure out this boot method based on the old days i found several helpful tips and ways to do things. Obožujem vaše spletne strani, in ko je poskušal ugotoviti, to boot metodo, ki temelji na starih i dni najdemo nekaj koristnih nasvetov in načine, kako narediti stvari. Nice Site! Nice Site!
Thank You! Hvala!
Mark Woody Mark Woody
rogue-diver@comcast.net rogue-diver@comcast.net
What you are looking for is the EasyBCD utility, which will let you customize your Vista bootup options to boot off the other drive. Kaj iščete je korist neprisiljen, ki vam omogoča prilagodite vaš razgled škorenj možnosti za zagon off druge vožnje.
http://neosmart.net/dl.php?id=1 http://neosmart.net/dl.php?id=1
Also fyi, we just opened a forum here, which is a good place to ask these types of questions, because a lot more people will see your question right away. Prav tako FYI, pravkar odprla forum tukaj, kar je dober kraj za vprašati te vrste vprašanj, ker bo veliko več ljudi, videli vaše vprašanje takoj.
http://www.howtogeek.com/forum/ http://www.howtogeek.com/forum/
Just a little FYI that this utility is great for any computer that doesn't have a local group policy or the local group policy is over written by a domain policy. Samo malo FYI, da je ta korist je velika za kakršno koli računalniku, ki nima lokalne politične skupine ali lokalne politike skupine, je več kot ga je napisal domeno politike. Another way to fire off those batch files without ever showing the command line interface is thru the use of a group policy know as logon scripts. Drug način za požarno off teh paketnih datotek, ne da bi kdaj prikazuje vmesnik ukazne vrstice, je s pomočjo skupine, politike, ve kot samoznak scenarij. Go to Start>Run type gpedit.msc and expand the Windows Settings under User Configuration. Iti k začetek> prost dostop vnesite gpedit.msc in razširitev Windows nastavitve pod User Configuration. You will see scripts and then you can choose from Logon or Logoff. Videli boste, skripte in potem si lahko izbirate med Logon ali odjavo. You can also do the same under the Computer Configuration only difference is these scripts are Startup and Shut Down. Prav tako lahko stori enako, pod Computer Configuration edina razlika je ta scenarij, so začetek in zaustavitev. The difference is when the computer is starting up before it gets to the login prompt it runs the Startup Script, after a user has logged on, it runs the Logon Script. Razlika je, ko je računalnik začetek preden pride do prijavno vrstico, da teče Startup Script, potem ko je uporabnik prijavljen, to runs Logon Script. The idea is the same for Logoff and Shut Down for those processes. Ideja je enaka za odjavo in zaustavitev teh procesov. Hope this little tidbit helps out where practical. Upam, da te malo Malčice pomaga, kadar je to izvedljivo.
Fantastic. Fantastično. I use this with a batch file that send my machine to sleep. Jaz raba to z batch datoteko, da pošljete svoj stroj za spanje. For some unfathomable reason Microsoft has stopped putting a “Sleep” hotkey on keyboards. Za nekatere nedoumljiva razloga Microsoft je ustavil polaganje "mirovanja" hotkey na klaviature. So I remap the “Log Off Key”. Zato sem preslikate "Log Off Key". The file is very simple: rundll32.exe powrprof.dll,SetSuspendState Sleep Datoteka je zelo preprosta: rundll32.exe powrprof.dll, SetSuspendState Sleep
would you know how to run the program silently? bi vedel, kako teči program tiho? I am trying to mix this and a batch file in the “Send To” menu, in order to open the menu itself. Jaz sem poskušal premešamo in to batch datoteko v "Pošlji", meni, da bi odprli meni sam. Because of the menu's nature, it tacks on a %1 automatically, and hstart returns a “Failed to create process” error with the filename of the file I had selected. Zaradi narave meni, da risalni žebljički na 1% avtomatično, in hstart vrne "Ni uspelo ustvariti proces" Napaka filename iz spisa sem izbrana. If there is no way, I will just bear with the cmd window, or see if I can write an autoit script instead.. Če ni tako, bom samo nosi s cmd okno, ali vidim, če lahko napišem autoit skript namesto ..
Nice idea, but what if the startup script fails? Dobra ideja, ampak kaj če začetek scenarij ne? Are you able to see that? Ali ste videli, da? What I usually do is have the batch script access WSH and generate a msgbox with the error code. Kaj jaz navadno delati je imeti batch WSH scenarij dostop in ustvarjajo MsgBox s kodo napake. Just a thought. Samo misel. This way the batch can run silently unless it encounters a problem it can't handle. Na ta način lahko serije teči tiho, če ne naleti na problem, da ne zmorem.