Comment écraser une image convertie existante?

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
sam00001
Posts: 9
Joined: Sat Apr 17, 2010 12:18 am

Comment écraser une image convertie existante?

Post by sam00001 »

Ex.: nconvert -v -out bmp -o "%USERPROFILE%\Local Settings\Application Data\Microsoft\Wallpaper2.bmp" %1

A la 1ère exécution, Wallpaper2.bmp est créée.

Aux exécutions suivantes ce message apparaît: :?
Error: Can't create file (C:\Documents and Settings\THINKPAD\Local Settings\Application Data\Microsoft\Wallpaper2.bmp)

J'ai essayé le paramètre -D, Delete original picture, mais rien n'y fait.

Est-ce possible de forcer la réécriture du fichier cible, SVP? Et si oui, mais comment donc ... :!: ?
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Comment écraser une image convertie existante?

Post by xnview »

oui avec -overwrite
Pierre.
sam00001
Posts: 9
Joined: Sat Apr 17, 2010 12:18 am

Re: Comment écraser une image convertie existante?

Post by sam00001 »

xnview wrote:oui avec -overwrite
Merci. Je n'avais pas vu la réponse avant. Je vais essayer bientôt.
Post Reply