Created
June 7, 2013 13:22
-
-
Save aya-eiya/5729211 to your computer and use it in GitHub Desktop.
Windowsのパスの長さ制限に引っかかったので短くしてみた ref: http://qiita.com/items/d2677c85017a010f2772
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\>echo %path% | perl -nle "s/;/;\n/g;print $_" | |
C:\Program Files (x86)\Haskell\bin; | |
C:\Program Files (x86)\Haskell Platform\2013.2.0.0\lib\extralibs\bin; | |
C:\Program Files (x86)\Haskell Platform\2013.2.0.0\bin; | |
C:\Program Files (x86)\Intel\iCLS Client\; | |
C:\Program Files\Intel\iCLS Client\; | |
%SystemRoot%\system32; | |
%SystemRoot%; | |
%SystemRoot%\System32\Wbem; | |
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; | |
C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86; | |
C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64; | |
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL; | |
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT; | |
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL; | |
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT; | |
D:\ProgrammingLanguages\scala\\bin; | |
D:\ProgrammingLanguages\Dwimperl\perl\bin; | |
D:\ProgrammingLanguages\Dwimperl\perl\site\bin; | |
D:\ProgrammingLanguages\Dwimperl\c\bin; | |
C:\Program Files\TortoiseSVN\bin; | |
C:\Program Files (x86)\Git\cmd; | |
C:\Program Files\nodejs\; | |
C:\Program Files\TortoiseGit\bin; | |
C:\Program Files (x86)\Haskell Platform\2013.2.0.0\mingw\bin; | |
%GROOVY_HOME%\bin; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mklink /d P "C:\Program Files" | |
mklink /d Q "C:\Program Files(x86)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\>echo %path% | perl -nle "s/;/;\n/g;print $_" | |
C:\Q\Haskell\bin; | |
C:\Q\Haskell Platform\2013.2.0.0\lib\extralibs\bin; | |
C:\Q\Haskell Platform\2013.2.0.0\bin; | |
C:\Q\Intel\iCLS Client\; | |
C:\P\Intel\iCLS Client\; | |
C:\Windows\system32; | |
C:\Windows; | |
C:\Windows\System32\Wbem; | |
C:\Windows\System32\WindowsPowerShell\v1.0\; | |
C:\Q\Intel\OpenCL SDK\2.0\bin\x86; | |
C:\Q\Intel\OpenCL SDK\2.0\bin\x64; | |
C:\P\Intel\Intel(R) Management Engine Components\DAL; | |
C:\P\Intel\Intel(R) Management Engine Components\IPT; | |
C:\Q\Intel\Intel(R) Management Engine Components\DAL; | |
C:\Q\Intel\Intel(R) Management Engine Components\IPT; | |
D:\ProgrammingLanguages\scala\\bin; | |
D:\ProgrammingLanguages\Dwimperl\perl\bin; | |
D:\ProgrammingLanguages\Dwimperl\perl\site\bin; | |
D:\ProgrammingLanguages\Dwimperl\c\bin; | |
C:\P\TortoiseSVN\bin; | |
C:\Q\Git\cmd; | |
C:\P\nodejs\; | |
C:\P\TortoiseGit\bin; | |
C:\Q\Haskell Platform\2013.2.0.0\mingw\bin; | |
C:\Q\Groovy\Groovy-2.1.3\bin; | |
C:\Q\Haskell\bin; | |
C:\Q\Haskell Platform\2013.2.0.0\lib\extralibs\bin; | |
C:\Q\Haskell Platform\2013.2.0.0\bin; | |
C:\Q\Intel\iCLS Client\; | |
C:\P\Intel\iCLS Client\; | |
C:\Windows\system32; | |
C:\Windows; | |
C:\Windows\System32\Wbem; | |
C:\Windows\System32\WindowsPowerShell\v1.0\; | |
C:\Q\Intel\OpenCL SDK\2.0\bin\x86; | |
C:\Q\Intel\OpenCL SDK\2.0\bin\x64; | |
C:\P\Intel\Intel(R) Management Engine Components\DAL; | |
C:\P\Intel\Intel(R) Management Engine Components\IPT; | |
C:\Q\Intel\Intel(R) Management Engine Components\DAL; | |
C:\Q\Intel\Intel(R) Management Engine Components\IPT; | |
D:\ProgrammingLanguages\scala\\bin; | |
D:\ProgrammingLanguages\Dwimperl\perl\bin; | |
D:\ProgrammingLanguages\Dwimperl\perl\site\bin; | |
D:\ProgrammingLanguages\Dwimperl\c\bin; | |
C:\P\TortoiseSVN\bin; | |
C:\Q\Git\cmd; | |
C:\P\nodejs\; | |
C:\P\TortoiseGit\bin; | |
C:\Q\Haskell Platform\2013.2.0.0\mingw\bin; | |
C:\Q\Groovy\Groovy-2.1.3\bin; | |
C:\Users\h.ayabe\AppData\Roaming\cabal\bin; | |
C:\Ruby200-x64\bin; | |
C:\P\Java\jdk1.7.0_17\bin; | |
C:\Program Files\7-Zip; | |
D:\DevTools\Maven\apache-maven-3.0.5\bin; | |
C:\Program Files (x86)\Git\bin\; | |
D:\ProgrammingLanguages\Python33; | |
C:\; | |
C:\Users\h.ayabe\AppData\Roaming\npm; | |
C:\P\PostgreSQL\9.2\bin; | |
C:\P\7-Zip; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment