[Précédent (date)] [Suivant (date)] [Précédent (sujet)] [Suivant (sujet)] [Index par date] [Index par sujet]

Re: Problème de boot



Voici le script update.dat qui se trouve sur la disquette de F10 Utility... 
 Étantdonné que j'ai complètement reformaté mon hd, sa ne fait pas 
grandchose!  Je crois cependant que j'ai un backup de mon ancienne 
partition Win95.  Si le fichier diag_ui.exe si trouve, je crois que je vais 
reformater mon hd en fat32 pour y mettre le fichier et ensuite utiliser la 
disquette.  Est-ce une bonne idée?

@echo off
cls

if exist c:\diag_ui.exe goto drive_c
if exist d:\diag_ui.exe goto drive_d
if exist e:\diag_ui.exe goto drive_e
if exist f:\diag_ui.exe goto drive_f
if exist g:\diag_ui.exe goto drive_g
if exist h:\diag_ui.exe goto drive_h
if exist i:\diag_ui.exe goto drive_i
if exist j:\diag_ui.exe goto drive_j
if exist k:\diag_ui.exe goto drive_k
if exist l:\diag_ui.exe goto drive_l
if exist m:\diag_ui.exe goto drive_m
if exist n:\diag_ui.exe goto drive_n
if exist o:\diag_ui.exe goto drive_o
if exist p:\diag_ui.exe goto drive_p
if exist q:\diag_ui.exe goto drive_q
if exist r:\diag_ui.exe goto drive_r 
if exist s:\diag_ui.exe goto drive_s
if exist t:\diag_ui.exe goto drive_t
if exist u:\diag_ui.exe goto drive_u
if exist v:\diag_ui.exe goto drive_v 
if exist w:\diag_ui.exe goto drive_w
if exist x:\diag_ui.exe goto drive_x 
if exist y:\diag_ui.exe goto drive_y
if exist z:\diag_ui.exe goto drive_z
 
goto error

:drive_c 
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o c:\ >NUL 
goto end

:drive_d
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o d:\ >NUL 
goto end

:drive_e
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o e:\ >NUL
goto end 

:drive_f
ECHO. 
ECHO ******** Please Wait while your files are updated!
call update1 /o f:\ >NUL 
goto end
 
:drive_g
ECHO. 
ECHO ******** Please Wait while your files are updated!
call update1 /o g:\ >NUL 
goto end
 
:drive_h
ECHO. 
ECHO ******** Please Wait while your files are updated!
call update1 /o h:\ >NUL 
goto end
 
:drive_i
ECHO. 
ECHO ******** Please Wait while your files are updated!
call update1 /o i:\ >NUL 
goto end
 
:drive_j
ECHO. 
ECHO ******** Please Wait while your files are updated!
call update1 /o j:\ >NUL 
goto end
 
:drive_k
ECHO. 
ECHO ******** Please Wait while your files are updated!
call update1 /o k:\ >NUL 
goto end
 
:drive_l
ECHO. 
ECHO ******** Please Wait while your files are updated!
call update1 /o l:\ >NUL 
goto end

:drive_m 
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o m:\ >NUL
goto end

:drive_n
ECHO.
ECHO ******** Please Wait while your files are updated! 
call update1 /o n:\ >NUL
goto end
 
:drive_o
ECHO.
ECHO ******** Please Wait while your files are updated! 
call update1 /o o:\ >NUL
goto end

:drive_p 
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o p:\ >NUL
goto end

:drive_q
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o q:\ >NUL
goto end

:drive_r
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o r:\ >NUL 
goto end

:drive_s
ECHO. 
ECHO ******** Please Wait while your files are updated!
call update1 /o s:\ >NUL
goto end

:drive_t
ECHO.
ECHO ******** Please Wait while your files are updated! 
call update1 /o t:\ >NUL
goto end

:drive_u
ECHO. 
ECHO ******** Please Wait while your files are updated!
call update1 /o u:\ >NUL
goto end

:drive_v
ECHO.
ECHO ******** Please Wait while your files are updated! 
call update1 /o v:\ >NUL
goto end

:drive_w
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o w:\ >NUL 
goto end

:drive_x 
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o x:\ >NUL
goto end 

:drive_y
ECHO.
ECHO ******** Please Wait while your files are updated!
call update1 /o y:\ >NUL
goto end 

:drive_z 
ECHO.
ECHO ******** Please Wait while your files are updated! 
call update1 /o z:\ >NUL
goto end
 
:error
echo.
echo There was an error!  
exit


:end
cls
echo Remove the diskette and restart  
exit