The list is generated in a dos-box.
How can i there create a unicode file?
Can NConvert create directories?
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44936
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Can NConvert create directories?
If you open this txt in notepad, you can save it as unicodeChristian72D wrote:The list is generated in a dos-box.
How can i there create a unicode file?
Pierre.
-
- Moderator & Librarian
- Posts: 6389
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
-
- Posts: 17
- Joined: Sat Jun 02, 2012 10:00 am
Re: Can NConvert create directories?
I don´t think that it´s possible to use one of these inside of a batch file.
-
- Moderator & Librarian
- Posts: 6389
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Can NConvert create directories?
Did you take a look at the command-line options mentioned in the discussion at Super User?Christian72D wrote:I don´t think that it´s possible to use one of these inside of a batch file.
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.
- The Old New Thing
- DosTips.com Forum
-
- Posts: 10
- Joined: Thu Jun 26, 2008 9:18 pm
Re: Can NConvert create directories?
«nconvert.exe -clipboard -out png -o asd.png» does not create any files. Worked fine before.
«nconvert.exe -clipboard -out png -o asd/asd.png» creates asd folder without any filesD:\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
-
- Author of XnView
- Posts: 44936
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Can NConvert create directories?
ok, right, i'll fix itentryway wrote:«nconvert.exe -clipboard -out png -o asd.png» does not create any files. Worked fine before.
«nconvert.exe -clipboard -out png -o asd/asd.png» creates asd folder without any filesD:\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
Pierre.