Hide Flashing Command Line and Batch File Windows On Startup Ascunde Flashing Linie de comandă şi de fişier batch Windows la pornire
I use a lot of batch files, command line applications, and even Ruby scripts (which run from the command line). Eu folosesc o mulţime de fişiere de lot, aplicaţii în linia de comandă, şi chiar şi script-uri Ruby (care rulează din linia de comandă). 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. Unul din lucrurile pe care mi-a iritat întotdeauna este fereastra clipeste promptul de comandă, când am face o comandă rapidă pentru un fişier batch, mai ales atunci când am pus-o în folderul de pornire pentru a rula când am te mai intai.
There's a really useful utility that you can use called Exista un utilitar foarte util pe care le puteţi utiliza numite Hidden Start (hstart) Hidden Start (hstart) , which will start up a command line application hidden in the background, which eliminates the flashing window. , Care va începe o cerere în linie de comandă ascuns în fundal, care elimină fereastra clipeste.
If you launch the utility with no parameters, it will pop up the settings dialog. Dacă vă lansaţi utilitarul fără parametri, aceasta va pop sus setările de dialog.

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. Când utilizaţi acest utilitar, există trei lucruri importante de reţinut: Utilizaţi / NOWINDOW parametrul de a păstra fereastra ascuns, utilizaţi / D = argumentul cale să vă asiguraţi că directorul curent este setată corect, şi asiguraţi-vă că surround de argumentul dvs. de cerere cu ghilimele.
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: De exemplu, dacă am avut un lot fişier stocat în C: \ scripturi \ mybatch.bat, aş începe să-l folosind următorii parametri în comenzi rapide mea:
hstart /NOWINDOW /D=c:\scripts “c:\scripts\mybatch.bat” hstart / NOWINDOW / D = C: \ scripturi "C: \ scripturi \ mybatch.bat"
You'll probably want to copy hstart.exe into somewhere in the system path, for instance C:\windows might work nicely. Veţi dori probabil să copiaţi hstart.exe în undeva în calea sistem, de exemplu, C: \ Windows s-ar putea de lucru frumos.
Download Hidden Start (hstart) Download Hidden Start (hstart)

Daily Email Updates Daily Actualizări de email
You can get our how-to articles in your inbox each day for free. Aveţi posibilitatea să obţineţi modul nostru de-a articole în Inbox în fiecare zi pentru drum liber. Just enter your name and email below: Doar introduceţi numele dvs. şi e-mail de mai jos:



Hi I need a better Geek than myself to help me out. Buna Am nevoie de un geek mai bun decât mine să mă ajute să afarã. I am dying and am on disability, I don't feel good and major time on the computer is hard on me. Sunt pe moarte şi sunt cu privire la handicap, nu ma simt bine şi majore de timp pe computer este greu la mine. I initially bought a 250 GB SATA 150 drive and put Vista on it. Am cumpărat o iniţial de 250 GB SATA 150 conduce vehicule şi de a pune Vista pe el. I noticed Battlefield 2142 didn't work to well and my Belkin Nostromo N52 game pad does not have a Vista driver. Am observat Battlefield 2142 nu au de lucru la bine şi-mi Belkin Nostromo N52 pad-joc nu are un driver 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. Tocmai am cumpărat o GB 350 300 de unitate, ştiu că ar trebui să fie meu disc C, cu atât Vista şi XP pe acolo pentru a avea grijă de necazurile mele, plus poate da-mi un impuls de viteză, eu nu ştiu dacă într-adevăr că face o diferenţă dar este mai bine decât Ultra 133 şi SATA 150 sau oricare ar fi o numesc ei. Is there going to be a speed difference? Există mergi la a fi o diferenta de viteza? 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. Oricum, în vechiul 386 zile şi 486 zile, am făcut un fişier batch, faptul că jocul mă încărca până opţiuni, una pentru jocuri de noroc, având grijă de faptul că primul bit vitale de RAM, sau pentru utilizare zilnica. 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. De acum ar putea la un cizme sus a scrie un fişier bat opţiune care vă permite să boot-a lovit 1 VISTA pentru tot, dar a lovit 2 jocuri de noroc sau de a merge la o altă unitate cu (GB 350) unitate cu jocuri meu si XP pe el, apoi mai târziu în a pune VISTA 64 primă de acasa pe ea. I do not have the upgradeable version. Eu nu am versiunea de modernizare. I remember in the old days I colored it yellow and after 20 secs it went to the default parameters. Mi-aduc aminte in vremurile de odinioara-am colorate este galben şi după 20 de secunde acesta a plecat la parametrii implicit. 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. Este cineva, dacă este posibil, care ar putea crea un cizme sus opţiune, deoarece sistem de operare Vista si XP, respectiv, sunt pe unităţi diferite, până când am poate repara drumul cel bun. 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. Ar putea orice drept una-mi un lot de fişiere, precum şi în cazul în care pentru a insera sau este aceasta o cale lungă de a face lucruri, pot schimba doar cizme sus conduce în BIOS-ul, dar că este o durere ... Atât de mult pentru casa mea făcute de competenţe de calculator şi am Am construit peste 20. I get fatigued real easy and can stay with it, like I use to could. I a lua obosiţi reale uşor şi poate sta cu ea, ca si cum as folosi pentru a putea. Anyway just asking. Oricum doar cer. 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. Imi place site-ul dvs. şi în timp ce încerca să dau seama această metodă de boot-am bazat pe vechiul zile găsit sfaturi utile şi de mai multe moduri de a face lucruri. Nice Site! Nice site!
Thank You! Mulţumesc!
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. Care pe care o căutaţi este utilitarul EasyBCD, care vă va permite să personalizaţi opţiunile de boot Vista la spre cizme de pe altă unitate.
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. De asemenea FYI, ne-am deschis un forum de aici, care este un loc bun pentru a solicita aceste tipuri de întrebări, pentru că oamenii mult mai mult va vedea întrebarea dvs. imediat.
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. Doar un pic FYI că acest lucru este de mare utilitate pentru orice computer care nu are o politică locală de grup sau a politicii locale, de grup este de peste scris de o politică de domeniu. 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. O altă modalitate de a incendiilor de pe aceste fişiere de lot, fără vreodată care arată interfaţa în linie de comandă este prin utilizarea unei politici de grup stiu ca script-uri de Log on. Go to Start>Run type gpedit.msc and expand the Windows Settings under User Configuration. Du-te la Start> Run tip gpedit.msc şi extinde setări Windows sub User Configuration. You will see scripts and then you can choose from Logon or Logoff. Veţi vedea script-uri şi apoi puteţi alege din Log on sau Log off. You can also do the same under the Computer Configuration only difference is these scripts are Startup and Shut Down. Puteţi face, de asemenea, acelaşi în configuraţia calculatorului singura diferenta este aceste script-uri sunt de pornire şi de oprire. 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. Diferenţa este atunci când computerul este starting sus înainte de a ajunge la logare nu mai rămâne script de pornire, după ce un utilizator a autentificat, acesta rulează script de Log on. The idea is the same for Logoff and Shut Down for those processes. Ideea este aceeaşi pentru Log off şi de oprire pentru aceste procese. Hope this little tidbit helps out where practical. Sper că acest tidbit mic ajută unde practice.
Fantastic. Fantastic. I use this with a batch file that send my machine to sleep. Eu folosesc acest lucru cu un fişier batch care trimit maşina mea de a dormi. For some unfathomable reason Microsoft has stopped putting a “Sleep” hotkey on keyboards. Din anumite motive, insondabil Microsoft a oprit pune un "Sleep" Hotkey la clape. So I remap the “Log Off Key”. Asa ca am remap "Log Off Cheie". The file is very simple: rundll32.exe powrprof.dll,SetSuspendState Sleep Fişierul este foarte simplu: powrprof.dll rundll32.exe, SetSuspendState Sleep
would you know how to run the program silently? s-ar ştii cum să executaţi programul de silenţios? I am trying to mix this and a batch file in the “Send To” menu, in order to open the menu itself. I sînt trying la acest lucru şi se amestecă un fişier batch în "Trimiteţi la" meniu, în scopul de a deschide meniul propriu-zis. 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. Din cauza naturii meniu, aceasta ţinte pe un 1% în mod automat, şi întoarce hstart un "Eroare la crearea proces de" eroare cu numele de fişier al fişierului am avut selectat. If there is no way, I will just bear with the cmd window, or see if I can write an autoit script instead.. Dacă nu există nici o cale, voi purta doar cu fereastra cmd, sau de a se vedea dacă pot să scriu un script de AutoIt în loc ..
Nice idea, but what if the startup script fails? Nice idea, dar ce se întâmplă dacă script de pornire nu reuşeşte? Are you able to see that? Esti posibilitatea de a vedea asta? What I usually do is have the batch script access WSH and generate a msgbox with the error code. Ceea ce am de obicei, nu este au lot WSH script-ul de acces şi de a genera un MsgBox cu codul de eroare. Just a thought. Chiar un thought. This way the batch can run silently unless it encounters a problem it can't handle. În acest fel de lot poate executa silenţios excepţia cazului în care întâmpină o problemă nu se poate trata.