Command prompt da qui, per aprire il prompt ad una determinata destinazione

Command prompt da qui, per aprire il prompt ad una determinata destinazione

Molto spesso abbiamo la necessità di utilizzare il prompt dei comandi per eseguire dei lavori all’interno di una cartella, ma via terminale, gli utenti Linux mi permettano il termine, arrivare ad una cartella non è semplice come in Explorer, due click e via.

Per questo motivo oggi voglio mostrarvi un metodo che aggiunge un opzione al menu contestuale di una cartella, la quale permette di aprire il prompt dei comandi direttamente nella cartella che abbiamo scelto. Copiate questo codice:


Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt]
@="Command Prompt:"
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt\Command]
@="cmd.exe /k cd %1″

In un nuovo file, che chiameremo anything.reg, salviamolo e clicchiamoci due volte, et voilà avremo il nuovo comando nel menu contestuale.

Via | howtogeek

25 commenti su “Command prompt da qui, per aprire il prompt ad una determinata destinazione”

  1. in Vista quell’opzione c’è già, basta premere CTRL+SHIFT e clickare col tasto destro del mouse sulla cartella e scegliere “Apri finestra di comando qui”

    Rispondi
  2. Un paio di appunti io uso questa chiave nel registro :

    [HKEY_CLASSES_ROOT\Directory\shell\cmd\command]

    e non CommandPrompt comunque una cosa interessante è sostituire il classico CMD di windows con un prodotto Free un po’ più versatile come :

    http://sourceforge.net/projects/console

    Che permette di avere una shell con qualche funzione in più, ed a questo punto il tutto diventerebbe :

    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt]
    @=”Command Prompt:”
    [HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt\Command]
    @==”C:\\Programmi\\Console2\\Console.exe -d \”%L\””

    Rispondi
  3. io ho eseguito il powertoy apposta della microsoft (openCommandPromptHere) e le voci che mi ha aggiunto sono queste:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Directory\shell\cmd]
    @=”Apri console qui…”

    [HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
    @=”cmd.exe /k cd %1″

    la seconda, dopo aver installato la console2 come da consiglio di Luca, l’ho poi cambiata in

    [HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
    @=”C:\\Programmi\\Console2\\Console.exe -d \”%L\””

    e funziona tutto.
    @=”C:\\Programmi\\Console2\\Console.exe -d \”%L\””

    Rispondi
  4. il mio pc è estremamente lento,come lo velocizzo?ho installato INTERNET EXPLORER 8 e GLARY UTILITIES,ma non si è velocizzato granchè.cos’altro devo fare?ho installato anche altri 3 browsers(ie8 è il predefinito) come OPERA10,GOOGLE CHROME e MOZILLA FIREFOX tutti nella versione del 2009.possono coesistere tutti e 4 assieme o il pc si appesantisce troppo?oppure è meglio tenerne uno solo e,se si,quale è meglio tenere?

    Rispondi
  5. I like the valuable info you supply in your
    articles. I will bookmark your blog and check once more right here regularly.
    I’m reasonably sure I’ll be told many new stuff proper here!
    Best of luck for the following!

    Rispondi
  6. That is very attention-grabbing, You’re an overly skilled blogger.
    I have joined your rss feed and look ahead to in search of extra of your
    magnificent post. Also, I’ve shared your website in my social networks

    Rispondi
  7. Hey I know this is off topic but I was wondering if you knew of any widgets
    I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was
    hoping maybe you would have some experience with something
    like this. Please let me know if you run into anything.

    I truly enjoy reading your blog and I look forward to your
    new updates.

    Rispondi
  8. Hey there! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my blog to rank for some targeted keywords but
    I’m not seeing very good success. If you know of
    any please share. Thanks!

    Rispondi
  9. Magnificent beat ! I wish to apprentice while you amend your site,
    how could i subscribe for a blog site? The account
    aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear idea

    Rispondi
  10. Hi there! This post couldn’t be written any better! Reading this post reminds me of my old room mate!

    He always kept chatting about this. I will forward this post to him.

    Pretty sure he will have a good read. Thank you for sharing!
    asmr 0mniartist

    Rispondi

Lascia un commento