<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><figure class="quote"><figcaption><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <cite xml:lang="ja">explorer、お前もか(ワイド文字拡張\?の話) | site-hhs</cite>
(<time>2016-01-16 11:44:14 +09:00</time> 版)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://hhsprings.pinoko.jp/site-hhs/2015/03/explorer%e3%80%81%e3%81%8a%e5%89%8d%e3%82%82%e3%81%8b%e3%83%af%e3%82%a4%e3%83%89%e6%96%87%e5%ad%97%e6%8b%a1%e5%bc%b5%e3%81%ae%e8%a9%b1/">http://hhsprings.pinoko.jp/site-hhs/2015/03/explorer%e3%80%81%e3%81%8a%e5%89%8d%e3%82%82%e3%81%8b%e3%83%af%e3%82%a4%e3%83%89%e6%96%87%e5%ad%97%e6%8b%a1%e5%bc%b5%e3%81%ae%e8%a9%b1/</anchor-external></p></figcaption><blockquote><p>ただし、エクスプローラは入力は受け付けてくれるが、意地でも c:\ に戻してしまうけれど。</p><p>なお、UNC の場合は「\\?\UNC\127.0.0.1\share」のようにします。</p><p>さて。ここからは Python の話。</p><p>そもそも「\」で書くのはダルいので「/」で書こうぜ、はいいとして、</p><p>「”\\\\?\\c:\\Users”」で失敗するものが「u”\\\\?\\c:\\Users”」で成功する</p><p>「”//?/c:/Users”」でも成功し、「u”//?/c:/Users”」でも成功する</p></blockquote></figure></body></html>