Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot search a file with long filename #197

Open
zawataki opened this issue Nov 29, 2018 · 0 comments
Open

Cannot search a file with long filename #197

zawataki opened this issue Nov 29, 2018 · 0 comments

Comments

@zawataki
Copy link

zawataki commented Nov 29, 2018

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

/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.
@zawataki zawataki changed the title Cannot search file having long filename Cannot search a file with long filename Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant