NirCmd - Free command line tool for Windows XP and Vista NirCmd - Libre outil en ligne de commande pour Windows XP et Vista

Posted on May 7, 2008 at 5:24 am Posté le Mai 7, 2008 à 5:24 am

Are you scared of using the Windows command prompt to accomplish tasks? Êtes-vous peur d'utiliser l'invite de commande Windows pour accomplir des tâches? If so, you’re definitely missing out on some cool stuff you can do on your computer. Dans l'affirmative, vous êtes définitivement exclus de certaines choses que vous pouvez faire sur votre ordinateur. However, it’s understandable as the syntax can be quite technical and you really don’t want to mess something up if you don’t know what you’re doing. Toutefois, il est compréhensible que la syntaxe peut être assez technique et vous ne voulez pas que le gâchis à quelque chose si vous ne savez pas ce que vous êtes en train de faire.

Luckily, there is a free utility called NirCmd that you can use that extends the functionality of the command prompt and makes it a little bit easier to use DOS commands without having to know DOS. Heureusement, il existe un utilitaire gratuit appelé NirCmd que vous pouvez utiliser qui étend les fonctionnalités de l'invite de commande et il fait un peu plus facile à utiliser les commandes DOS sans avoir à connaître DOS.

NirCmd NirCmd is a small command-line utility that allows you to do some useful tasks without displaying any command prompt user interface. est une petite ligne de commande utilitaire qui vous permet de faire quelques tâches sans afficher une invite de commande interface utilisateur.

You can use it to do all kinds of useful stuff for you such as writing and deleting values registry keys, writing values into INI file, dialing your  Internet account or connecting to a VPN network, restarting windows or shutting down the computer, creating a shortcut to a file, chaning the created/modified date of a file, changing your display settings, turning off your monitor, opening the door of your CD-ROM drive, and lots more! Vous pouvez l'utiliser pour faire toutes sortes de choses utiles pour vous comme l'écriture et la suppression des valeurs clés de registre, l'écriture des valeurs dans le fichier INI, le numéro de votre compte Internet ou de le brancher à un réseau VPN, les fenêtres de redémarrer ou d'arrêter l'ordinateur, créer un raccourci dans un fichier, chaning la création / date de modification d'un fichier, de modifier vos paramètres d'affichage, d'éteindre votre moniteur, en ouvrant la porte de votre lecteur de CD-ROM, et beaucoup plus!

The best thing about this program is that you can create a scheduled task to simple run any command you want at a set interval. La meilleure chose au sujet de ce programme est que vous pouvez créer une tâche planifiée à une simple exécuter toute commande qui vous intéresse à un intervalle fixé. So you can create a scheduled task to turn off your monitor or turn off your computer every day at midnight or to mute the volume on your computer every morning. Ainsi, vous pouvez créer une tâche planifiée pour éteindre votre moniteur ou éteignez votre ordinateur tous les jours à minuit ou pour couper le volume sur votre ordinateur chaque matin.

Download the zip file (scroll all the way down) and un-zip the folder somewhere on your computer, preferably in My Documents or some location where it will stay permanently. Téléchargez le fichier zip (faire défiler tout le chemin vers le bas) et un zip-le dossier quelque part sur votre ordinateur, de préférence dans Mes documents ou certains endroit où il restera de façon permanente. Now double-click on the NirCmd.exe file and you’ll get a popup that has a button called “ Copy to Windows Directory “. Puis double-cliquez sur le fichier NirCmd.exe et vous aurez une fenêtre pop-up qui a un bouton "Copier vers le répertoire Windows".

nircmd

Now you could simply run any of the commands by going to the Windows command prompt and typing something in. For example, go to Start, then Run and then type in CMD. Maintenant vous pouvez simplement exécuter des commandes en allant à l'invite de commande Windows et tapez po Par exemple, cliquez sur Démarrer, puis sur Exécuter et tapez cmd. Now type in any command that was listed in the Maintenant tapez dans n'importe quelle commande qui a été listé dans le command list la liste des commandes .

nircmd commandes

This is great, but you still have to use the Windows command prompt. C'est super, mais vous devez toujours utiliser l'invite de commande Windows. Another nifty way to use Nircmd is to create a scheduled task, like I mentioned before. Une autre façon astucieuse d'utiliser Nircmd est de créer une tâche planifiée, comme je l'ai mentionné auparavant. So first, go to Start , then Control Panel and then Scheduled Tasks . Donc, en premier lieu, allez dans Démarrer, puis Panneau de configuration, puis tâches planifiées. Then go to File , New and choose Scheduled Task . Ensuite, allez au dossier, et choisissez Nouvelle tâche planifiée. Or double-click Add Scheduled Task. Ou double-cliquez sur Ajouter tâche planifiée.

ajouter tâche planifiée

Click Next to start up the wizard. Cliquez sur Suivant pour démarrer l'assistant. Now you’ll have to choose the program you want to run. Maintenant, vous aurez à choisir le programme que vous voulez exécuter. Click Browse and then go to the directory where NirCmd was unzipped and choose nircmd.exe (not nircmdc.exe). Cliquez sur Parcourir, puis aller dans le répertoire où a été décompressé NirCmd et choisissez nircmd.exe (pas nircmdc.exe).

ajouter prévue task1

You’ll automatically be brought to the next screen where you have to give your task a name. Vous serez automatiquement porté à l'écran suivant où vous devez donner votre nom une tâche. So if I want this to turn off my computer, I would name it something like “Turn Off Computer” and then choose whether you want it to be Daily, Weekly, Monthly, etc. Donc, si je veux à présent éteindre mon ordinateur, je voudrais nommer quelque chose comme «Turn Off Computer" et puis choisissez si vous voulez qu'elle soit quotidienne, hebdomadaire, mensuelle, etc

éteindre l'ordinateur

In the next screen, you can select the time and the date to start running the command. Dans l'écran suivant, vous pouvez choisir l'heure et la date à commencer à courir la commande. Click Next and type in the administrator user name and password for your computer. Cliquez sur Suivant et entrez le nom d'utilisateur et mot de passe pour votre ordinateur. Make sure the account is an administrator. Assurez-vous que le compte est un administrateur.

tâche planifiée

Finally, review your settings and check the “ Open advanced properties for this task when I click Finish ” box. Enfin, de réviser vos paramètres et cochez la case "Ouvrir les propriétés avancées de cette tâche lorsque je clique sur Terminer". Then click Finish. Ensuite, cliquez sur Terminer.

Windows tâche planifiée

Now in the properties, you will see the tab Task and a box called Run at the top tha is pointing to the NirCmd.exe file. Maintenant dans les propriétés, vous verrez l'onglet Tâche et une boîte appelée Run en haut tha pointe à la NirCmd.exe fichier.

nircmd commande

Now to run any specific task, just add the parameters after the last quotation mark. Maintenant, pour exécuter toute tâche spécifique, il suffit d'ajouter les paramètres après le dernier guillemet. So if you wanted to open the CD ROM drive, just add a space and then “ cdrom open e: ” after the quotes. Donc, si vous voulez ouvrir le lecteur de CD-ROM, il suffit d'ajouter un espace, puis "e ouvert cdrom:" après les guillemets.

nircmd options

That’s it! That's it! Now that command will run according to the schedule you created. Maintenant que la commande se déroulera selon le calendrier que vous avez créé. You can change that last part to any of the other commands that were specified in the command list. Vous pouvez modifier cette dernière partie à l'un des autres commandes qui ont été précisées dans la liste des commandes. For example, Par exemple,

mutesysvolume 1 - will mute the system volume mutesysvolume 1 - couper le volume du système

monitor off - will turn off the monitor surveiller off - entraînera la désactivation de l'écran

exitwin poweroff - turn off your computer exitwin poweroff - éteignez votre ordinateur

Just add any of these to the Run box like shown above. Il suffit d'ajouter l'une de ces à la boîte de dialogue, comme indiqué ci-dessus. If you want to have multiple commands run at different times, just create more scheduled tasks in the same way! Si vous voulez avoir plusieurs commandes terme à des moments différents, il suffit de créer davantage d'tâches de la même manière! Great way to automate tasks on your computer easily! Excellent moyen pour automatiser des tâches sur votre ordinateur facilement! Enjoy! Apprécier!

Technorati Tags: Technorati Tags: , , , , , ,

If you enjoyed this post, make sure you Si vous avez aimé ce poste, assurez-vous subscribe to my RSS feed s'abonner à mes flux RSS ! !

» Filed Under »Classé dans Computer Tips Computer Tips

Related Posts Postes connexes

3 Responses to “NirCmd - Free command line tool for Windows XP and Vista” 3 réponses à "NirCmd - Libre outil en ligne de commande pour Windows XP et Vista"

  1. Keith Dsouza Keith DSouza said on : dit le:

    Definitely looks like a good software to have, being a software engineer I use putty and cmd almost half my day. Certainement ressemble à un bon logiciel d'avoir, en tant que ingénieur logiciel-je utiliser du mastic et cmd près de la moitié de ma journée. This would definitely be a good addition for me :). Ce serait certainement un bon plus pour moi:).


  2. akishore akishore said on : dit le:

    Keith,

    It’s definitely for someone like you then! C'est certainement pour quelqu'un comme vous donc! I’m just starting to get into the whole Putty thing too! Je suis juste de commencer à pénétrer dans l'ensemble Putty chose trop! ;)


  3. Madhur Kapoor Madhur Kapoor said on : dit le:

    This is awesome. This is awesome. It can help us increase our efficiency Il peut nous aider à accroître notre efficacité


    Please post your comments/suggestions! S’il vous plaît envoyer vos commentaires / suggestions!