Je voudrais changer un chemin dans la variable d environnement path. J ai fait un:
set path=c:\dir1
Mais ca marche que sous la fenetre ouverte... Comment faire pour que ces param soient changés definitivement?
Publicité
Posté le 17-03-2003 à 10:18:39
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 17-03-2003 à 10:25:08
Bin en faisant clic droit sur My Computer (ou Poste de Travail, au choix) puis Propriétés puis Avancé puis Variables d'environnement. Tu chopes ta variable PATH, tu la modifies, tu valides et t'as gagné la guerre.
---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.
EpoK
Let's burn
Posté le 17-03-2003 à 10:25:42
click droit sur le poste de travail
onglet Avancéé
puis en bas t'as "variable d'environement" tu click puis tu édite
Bin en faisant clic droit sur My Computer (ou Poste de Travail, au choix) puis Propriétés puis Avancé puis Variables d'environnement. Tu chopes ta variable PATH, tu la modifies, tu valides et t'as gagné la guerre.
grilled
renaud-twingo
Dans ma cabane au Canada
Posté le 17-03-2003 à 11:45:25
Zut, je me suis pas super bien exprimé... Je voudrais faire ca via un batch, bref trouver une commande qui fait ca de facon permanente!
Message édité par renaud-twingo le 17-03-2003 à 11:45:51
Zut, je me suis pas super bien exprimé... Je voudrais faire ca via un batch, bref trouver une commande qui fait ca de facon permanente!
Ouais bin alors là non, je vois pas. Et à mon avis, en batch, y a pas, du moins je crois pas.
---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.
C'est de facon permanente ce qu'ils t'on dit et valable pour tt session dos et windows lui meme
Oui mais ce qu'on lui a dit, c'est une action utilisateur avec la souris, pas dans un batch
---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.
renaud-twingo
Dans ma cabane au Canada
Posté le 17-03-2003 à 12:35:50
Merci qd meme Et en vbs peut etre?
kayasax
Posté le 17-03-2003 à 12:46:25
j'ai deja repondu a un topic de ce type, on peut modifier le path via un batch (en modifiant une cle de la bdr)
l'inconvenient c qu'il faut rebooter apres pour que ce soit pris en compte
Publicité
Posté le 17-03-2003 à 12:46:25
VisualC++
J'va y penser ...
Posté le 17-03-2003 à 12:46:49
Alors regarde du cote de la base de registre
Et pour etre exacte ici :