SUPINFO International University

SUPINFO Institute of Information Technology
Laboratoire Microsoft




Ajouter un raccourci vers l'invite de commandes

Accueil > Tips > administration > Ajouter un raccourci vers l'invite de commandes

Ajouter un raccourci vers l'invite de commandes

Par Nicolas MILBRAND, LABORATOIRE SUPINFO DES TECHNOLOGIES MICROSOFT
Publiée le 17/03/2005 vers 22h.

Exécuté ce script afin d'ajouter au menu de l'explorer la commande Prompt.
Elle permet de charger l'invite de commande et de nous placer directement dans le repertoire en cours d'utilisation:

Set objShell = CreateObject("WScript.Shell")

objShell.RegWrite "HKCR\Folder\Shell\MenuText\Command\", _
"cmd.exe /k cd " & chr(34) & "%1" & chr(34)
objShell.RegWrite "HKCR\Folder\Shell\MenuText\", "Prompt"



Postez vos commentaires ici

Proposer un tips

Notre avis :

Votre avis :

Réactions :
0

Votants :
5

Visites :
14827

1
2
3
4
5




Retrouvez ci-dessous les autres sections du Laboratoire Microsoft