UNC path problems

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
siromega
Posts: 36
Joined: Mon Jul 02, 2007 5:06 am

UNC path problems

Post by siromega »

Hi,

I noticed that the handbrake CLI doesnt seem to support UNC paths correctly...

the command line

"C:\Program Files\Handbrake\hbcli.exe" -i "\\server\Videos\iso\MOVIE.ISO" -t 1 -c 1-50 -o "D:\Movie.m4v" -e x264b30 -E faac -w 640 -l 272 -S 350 -2 -m -B 160 -R 44.1

shows..
Opening \server\Videos\iso\MOVIE.ISO...

instead of
Opening \\server\Videos\iso\MOVIE.ISO...

If I alter the path to be

"C:\Program Files\Handbrake\hbcli.exe" -i "\\\\server\Videos\iso\MOVIE.ISO" -t 1 -c 1-50 -o "D:\Movie.m4v" -e x264b30 -E faac -w 640 -l 272 -S 350 -2 -m -B 160 -R 44.1

(four backslashes instead of two)

it works.

rhester
Veteran User
Posts: 2888
Joined: Tue Apr 18, 2006 10:24 pm

Post by rhester »

HandBrake for Windows is compiled as a cygwin application, which does indeed handle pathing this way. Use of forward slashes "/" instead of backslashes "\" should allow for expected behavior as well.

Rodney

Post Reply