rehties |
Code :
- echo off
- md "%date:~8,2%-%date:~3,2%-%date:~0,2%_%time:~0,2%-%time:~3,2%"
- echo [.ShellClassInfo] >>%date:~8,2%-%date:~3,2%-%date:~0,2%_%time:~0,2%-%time:~3,2%\Desktop.ini
- echo IconFile=%SystemRoot%\Resources\Icones\glass\GlassPhotoshop.ico >>%date:~8,2%-%date:~3,2%-%date:~0,2%_%time:~0,2%-%time:~3,2%\Desktop.ini
- echo IconIndex=0 >>%date:~8,2%-%date:~3,2%-%date:~0,2%_%time:~0,2%-%time:~3,2%\Desktop.ini
- attrib +S %date:~8,2%-%date:~3,2%-%date:~0,2%_%time:~0,2%-%time:~3,2%
- attrib +H %date:~8,2%-%date:~3,2%-%date:~0,2%_%time:~0,2%-%time:~3,2%\Desktop.ini
- fin
|
Ce batch pour creer un repertoire dans celui ci le fichier desktop.ini pour l'icone du repertoire, Merci
Message édité par rehties le 12-06-2007 à 16:14:26
|