Catégorie : Batch

Batch Menu à choix multiple

Si vous avez besoin de créer un script à choix multiple ceci pourrais bien vous aider : @echo offclscolor 5F:questionset /p choix=Que voulez vous faire (1/2/3)? : if /I « %choix% »== »1 » (goto :A)if /I « %choix% »== »2 »...

Sript : Install d’un exe

Pour lancer une install d’un exe via GPO, nous pouvons passer par un script : if exist « C:\Program Files (x86)\Java\jre1.8.0_361 » (goto fin)else (Xcopy « \serveur\sources$\java*.exe » « C:\java » /e /i « C:\java\JavaSetup8u361.exe » /s):fin Dans cet exemple, il faut...