pb avec les attributs d'un fichier - Win NT/2K/XP - Windows & Software
Marsh Posté le 11-12-2002 à 08:08:14
La commande ATTRIB sous boite CMD (DOS) 
 
Displays or changes file attributes. 
 
ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [[drive:] [path] filename] 
       [/S [/D]] 
 
  +   Sets an attribute. 
  -   Clears an attribute. 
  R   Read-only file attribute. 
  A   Archive file attribute. 
  S   System file attribute. 
  H   Hidden file attribute. 
  /S  Processes matching files in the current folder 
      and all subfolders. 
  /D  Processes folders as well.
Marsh Posté le 11-12-2002 à 13:09:09
on avait essaye mais ca ne marche pas. A priori, on ne peux pas les virer si le fichier a les attributs S et H en meme temps. 
 
Kelkun d'autre aurait une solution ??
Marsh Posté le 11-12-2002 à 13:34:26
Si, faut respecter un ordre. 
Ex : 
 
C:\>attrib boot.ini 
   SH      C:\boot.ini 
 
C:\>attrib -h -s c:\boot.ini 
 
C:\>attrib boot.ini 
           C:\boot.ini
Marsh Posté le 11-12-2002 à 03:28:56
coucou tt le mde,
G un ami ki a un leger pb : son dur a ete infecte par un virus ki a transforme pleins de fichiers en fichiers caches + systeme (attributs SH).
On a donc essaye des les virer a la mano avec une invite de commande sous Xp mais ca veut pas partir.
Est-ce ke kelkun aurait une idee pour restaurer l'integrite des fichiers.
OS:WinXp et systeme de fichiers : Fat32
Merci bien.