Export to GitHub

subtitleedit - issue #147

unable to convert from command line when filename contains a comma


Posted on Jun 2, 2013 by Quick Kangaroo

What steps will reproduce the problem? 1. Get a .srt and rename it to "1,2.srt". 2. Copy it to Subtitle Edit folder. 3. Open a DOS window, type cd <path to Subtitle Edit folder> 4. Launch SubtitleEdit.exe /convert "1,2.srt" microdvd /fps:23.976

What is the expected output? What do you see instead? The expected output is the result of the conversion. This is what I obtain instead:

 1: 1 - file not found!
 2: 2.srt - file not found!

 0 file(s) converted

If you rename "1,2.srt" to "1 2.srt" and launch: SubtitleEdit.exe /convert "1 2.srt" microdvd /fps:23.976

the program works as expected:

 1: 1 2.srt -&gt; C:\progs\Subtitle Edit\1 2.sub... done.

 1 file(s) converted

What version of the product are you using? On what operating system? Subtitle Edit 3.3.4 running under Windows 8 Enterprise x64.

Please provide any additional information below. Thanks for the time it takes you to look into my issue!

Comment #1

Posted on Jun 7, 2013 by Quick Dog

Fixed in r1857

Comment #2

Posted on Jun 10, 2013 by Quick Kangaroo

thank you very much!!

Status: Fixed

Labels:
Type-Defect Priority-Medium