jul Posted October 19, 2003 Posted October 19, 2003 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
Westi Posted October 19, 2003 Posted October 19, 2003 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
squallgreg Posted October 19, 2003 Posted October 19, 2003 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.
jul Posted October 19, 2003 Author Posted October 19, 2003 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 ...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now