Opened 9 years ago

Last modified 5 months ago

#6399 new defect

FFREPORT doesn't support drive letters on Win32 due to parsing separator

Reported by: horshack Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: FFREPORT windows win32 colon separator
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

The FFREPORT environmental variable can't support a drive letter in the path to the log file (Windows systems) due to the use of ':' as a field separator. For example, FFREPORT=file=c:\temp\log.txt:loglevel=56 gets interpreted as a filename of only "c"

How to reproduce:
Set FFREPORT to a path including a drive letter. Look for the resulting "Report written to <x>" message in the output, where <x> is the drive letter in the path.

Change History (2)

comment:1 by horshack, 9 years ago

FYI, this would be an issue for OSX as well since it supports colons in its directory and filenames, although more easily avoidable than on Win32.

comment:2 by user20170202, 5 months ago

This is a valid and working Window Syntax:

set ffreport=file=c\:\\tmp\\my videos\\report.log:level=32
  • No quotes or apostrophes around the path
  • Blanks are valid inside the path
  • The ":" and "\" must be escaped by "\" before
Note: See TracTickets for help on using tickets.