'nibconv batch processing long filenames'
Author:Jaime Carstigan (guest: search)
Date: Fri, Jan 20th, 2012 @ 13:20 ( . )

I apologise for being so ignorant. I could not find documentation that would help me understand how to do a batch conversion (NIB to G64) of an entire directory of NIB files.

I found a thread with the same question (by a gentleman named Peepo). The command recommended to him was:

FOR %x IN (*.NIB) DO nibconv %x

A file named, for example, "Five Finger Discount (USA, Europe) (DEMO).nib" (not a real file, by the way) would cause an error. I can do it one file at a time by putting the file name in quotes. I was hoping for a batch method. Is there a switch to accomplish this? Is this a limitation of Windows XP's Command Shell?


REPLY: [With No Quote] --- [With Quoted Text]

'nibconv batch processing long filenames'
Author:Markus Benko (registered user: 16 posts )
Date: Sat, Jan 21st, 2012 @ 05:20 ( . )

You should put the %x (when being used as nibconv parameter) in quotes.

On the command line:
FOR %x IN (*.NIB) DO nibconv "%x" "%x.g64"

In batch files you might have to repeat the percent signs:
FOR %%x IN (*.NIB) DO nibconv "%%x" "%%x.g64"

If some titles don't work afterwards, check if custom protection handlers must be activated for them.


REPLY: [With No Quote] --- [With Quoted Text]


--- 0 Users Online --- 0 Recent Unique Posters

Q39=1716243185 - Threads: / 1716243185