Open zawataki opened 5 years ago
When a file having long filename exists, encounter error with The system cannot find the path specified. message.
The system cannot find the path specified.
Windows 10 Enterprise (64 bit) Version 1703 (OS Build 15063.1029)
go version go1.11.2 windows/amd64
pt version 2.2.0
/tmp $ mkdir test-pt /tmp $ cd test-pt/ /tmp/test-pt $ ll total 0 /tmp/test-pt $ echo "hoge" > 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 /tmp/test-pt $ ls -l total 1 -rw-r--r-- 1 zawataki 1049089 5 11月 29 10:53 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 /tmp/test-pt $ cat 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 hoge /tmp/test-pt $ pt hoge . 2018/11/29 10:53:57 open: open .\12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789: The system cannot find the path specified.
Overview
When a file having long filename exists, encounter error with
The system cannot find the path specified.
message.Environment
OS
Windows 10 Enterprise (64 bit) Version 1703 (OS Build 15063.1029)
go version
go version go1.11.2 windows/amd64
pt version
pt version 2.2.0
How to encounter error