Can NConvert create directories?

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

Moderators: XnTriq, helmut, xnview

Christian72D
Posts: 17
Joined: Sat Jun 02, 2012 10:00 am

Re: Can NConvert create directories?

Post by Christian72D »

The list is generated in a dos-box.
How can i there create a unicode file?
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Can NConvert create directories?

Post by xnview »

Christian72D wrote:The list is generated in a dos-box.
How can i there create a unicode file?
If you open this txt in notepad, you can save it as unicode
Pierre.
Christian72D
Posts: 17
Joined: Sat Jun 02, 2012 10:00 am

Re: Can NConvert create directories?

Post by Christian72D »

I don´t think that it´s possible to use one of these inside of a batch file.
User avatar
XnTriq
Moderator & Librarian
Posts: 6339
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Can NConvert create directories?

Post by XnTriq »

Christian72D wrote:I don´t think that it´s possible to use one of these inside of a batch file.
Did you take a look at the command-line options mentioned in the discussion at Super User?
Wikipedia (Batch file » [url=http://en.wikipedia.org/wiki/Batch_file#Character_set]Character set[/url]) wrote:Batch files use a DOS character set, as defined by the computer, e.g. Code page 437. The non-ASCII parts of these are incompatible with the Unicode or Windows character sets otherwise used in Windows so care needs to be taken. Non-English file names work only if entered through a DOS character set compatible editor. File names with characters outside this set won't work in batch files.

To get output in Unicode into file pipes from an internal command such as dir, one can use the cmd /U command. For example cmd /U /C dir > files.txt will create a file containing a directory listing with correct Windows characters, in the UTF-16LE encoding.
entryway
Posts: 10
Joined: Thu Jun 26, 2008 9:18 pm

Re: Can NConvert create directories?

Post by entryway »

«nconvert.exe -clipboard -out png -o asd.png» does not create any files. Worked fine before.
D:\tools\XnView>nconvert.exe -clipboard -out png -o asd.png
** NCONVERT v6.30 (c) 1991-2012 Pierre-E Gougelet (Dec 18 2012/10:51:34) **
Version for Windows NT/9x/2000/Xp/Vista/7 (All rights reserved)
** This is freeware software (for non-commercial use)

MASK ff0000 ff00 ff
Conversion of clipboard into asd.png OK
«nconvert.exe -clipboard -out png -o asd/asd.png» creates asd folder without any files
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Can NConvert create directories?

Post by xnview »

entryway wrote:«nconvert.exe -clipboard -out png -o asd.png» does not create any files. Worked fine before.
D:\tools\XnView>nconvert.exe -clipboard -out png -o asd.png
** NCONVERT v6.30 (c) 1991-2012 Pierre-E Gougelet (Dec 18 2012/10:51:34) **
Version for Windows NT/9x/2000/Xp/Vista/7 (All rights reserved)
** This is freeware software (for non-commercial use)

MASK ff0000 ff00 ff
Conversion of clipboard into asd.png OK
«nconvert.exe -clipboard -out png -o asd/asd.png» creates asd folder without any files
ok, right, i'll fix it
Pierre.
Post Reply