Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 727 Bytes

File metadata and controls

42 lines (29 loc) · 727 Bytes

Long Path Problem - Windows

Check where are the limits of long path on Windows.

Usage

Build sample application:

cd hello
cargo build --release

Run the tester

cd long-path-validator
cargo run

Check Windows registry Long Path settings:

Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name LongPathsEnabled

Check presence of manifest:

mt.exe "-inputresource:.\target\debug\long-path-validator-manifest.exe;#1" -out:extracted_manifest.xml

Trace problems

sxstrace.exe trace -logfile:sxs_trace.etl

Parse the trace

sxstrace.exe parse -logfile:sxs_trace.etl -outfile:sxs_trace.txt