Matthias Meyer <matthias.meyer@gmx.li> (Do 29 Jan 2009 16:49:29 CET): > while IFS= read -r cLine > do > echo "$cLine" > attrib +H "$cLine" > done < restoreFiles.tmp > rm -f restoreFiles.tmp > > liest nur die erste Zeile ein und verarbeitet sie: > + echo 'C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500' > C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500 > + attrib +S 'C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\Microsoft\Credentials\S-1-5-21-1606980848-1532298954-1801674531-500' > + IFS= > + read -r cLine > + test 0 -gt 0 > + rm -f restoreFiles.tmp > Versuch' doch mal attrib +H "$cline" </dev/null Best regards from Atlanta, GA currently Viele Grüße aus z.Z. Atlanta Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann HS12-RIPE ----------------------------------------- gnupg encrypted messages are welcome - key ID: 48D0359B --------------- gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B -
Attachment:
signature.asc
Description: Digital signature