Error Occurs When You Convert a Directory and the Local Drive and UNC Path Are Mixed (290564)



The information in this article applies to:

  • Microsoft Windows Media 8 Encoding Utility

This article was previously published under Q290564

SYMPTOMS

When you specify a directory as the input or output for the Windows Media 8 Encoding Utility, the Windows Media Encoder may stop and the following error message may occur:
ERROR: Can't create the output Directory!. Directory Name (including path) is too long (>247 char)

CAUSE

This problem only seems to occur when you mix a UNC path and a local drive as your input or output directories, and the output directory is a subdirectory of the input directory. As the Encoder moves through the directories recursively, it keeps trying to create the output directories. When it reaches a 255 character limit, the Encoder stops with an error message.

RESOLUTION

Make sure that you use the same path type in your command line arguments for the input and output directories (either both UNC or both local drives). For example:
wm8eutil -input c:\InputDir -output c:\InputDir\OutputDir
				
or
wm8eutil -input \\machine_name\InputDir -output \\machine_name\InputDir\OutputDir
				

STATUS

Microsoft has confirmed that this is a problem in Microsoft Windows 8 Encoder Utility.

MORE INFORMATION

Microsoft recommends that you do not have the output directory as a subdirectory of the input directory.

Modification Type:MajorLast Reviewed:3/17/2001
Keywords:kbbug KB290564