October 19, 200322 yr hi,my unattended cd works fine, except for one thing.there are accents in some wallpaper filenames and when trying to delete them in the main_batch i get errors and the files aren't deleted.this only happens for files or filepaths containing accents like é è ê .... i.e :DEL "%systemroot%\Web\Wallpaper\Choeur d'étoiles.jpg"typing the same line works fine in the xp command prompt though. any idea ?thanks
October 19, 200322 yr tryDEL "%systemroot%\Web\Wallpaper\Choeur~1.jpg"instead ofDEL "%systemroot%\Web\Wallpaper\Choeur d'étoiles.jpg"simple method for other files:-open a command window (cmd.exe)-go to the directory-type 'dir /x'-remember the 8.3 name and use it in you batch
October 19, 200322 yr Salut En fait c'est simple, tu laisses toujours les 6 premiers caractères de ton fichier ensuite tu rajoutes ~1 puis l'extension (.jpg) qui doit être de 3 caractères et non 2.Ainsi msnforum.bmp devient msnfor~1.bmpD'ou le terme 8.3 : 8 lettres avant et 3 après.
October 19, 200322 yr Author thanks Westi, i didnt know about dir /x, it works fine nowsquallgreg :en fait il vaut mieux utiliser la methode dir /x car par exemple Choeur d'étoiles.jpgn'est pas Choeur~1.jpg mais Churd'~1.jpg sous dos ...
Create an account or sign in to comment