Batch bon ?
Résolu
CyberGun
Messages postés
549
Statut
Membre
-
Utilisateur anonyme -
Utilisateur anonyme -
Bonjour à tous/toute
Je voudrais savoir si ce code est bon, je souhaite formaté un PC pour changé d'O.S.
Voici:
@echo off
echo 'un texte'
echo.
cls
format c: /Q /Y
Merci beaucoup.
--
.CyberGun.
Pourquoi faire simple quand on peut faire compliqué.
Je voudrais savoir si ce code est bon, je souhaite formaté un PC pour changé d'O.S.
Voici:
@echo off
echo 'un texte'
echo.
cls
format c: /Q /Y
Merci beaucoup.
--
.CyberGun.
Pourquoi faire simple quand on peut faire compliqué.
2 réponses
-
ben non ! tu ne peux pas formater C:\ tant qu'il est utiliser sous windows !
le plus simple si tu veux changer d'os, boot sur le cd d'installation de l'os que tu veux...tu aura la possibilité de formater sans soucis ! ;) -
& en faisant comme ça, ce quitteras windows et au redémarrage, ça formateras !
@echo off
echo 'texte'
echo.
cls
rundll32
user.exe,exitwindows
format c: /Q /Y
.CyberGun.
Pourquoi faire simple quand on peut faire compliqué.