You copied the Doc URL to your clipboard.

Enables or disables the elimination of redundant path name information in file paths.

## Mode

Effective on Windows systems only.

## Usage

Windows systems impose a 260 character limit on file paths. Where path names exist whose absolute names expand to longer than 260 characters, you can use the --reduce_paths option to reduce absolute path name length by matching up directories with corresponding instances of .. and eliminating the directory/.. sequences in pairs.

### Note

It is recommended that you avoid using long and deeply nested file paths, in preference to minimizing path lengths using the --reduce_paths option.

## Default

The default is --no_reduce_paths.

A file to be linked might be at the location:

..\..\..\xyzzy\xyzzy\objects\file.c


Your current working directory might be at the location:

\foo\bar\baz\gazonk\quux\bop


The combination of these paths results in the path:

\foo\bar\baz\gazonk\quux\bop\..\..\..\xyzzy\xyzzy\objects\file.o


By using the option --reduce_paths the path becomes:

\foo\bar\baz\xyzzy\xyzzy\objects\file.c