--
问这个问题是因为今天在Windows下发现Win下的Path环境变量居然是有长度限制的。。。所以就想来请教一下Linux下对Path有没有限制。。。再OT一下,假设我现在Win下现有的Path是一个长度为n的字符串,现在要安装一个新的软件,该软件需要添加的Path环境变量的长度为m。假如m+n超过了Windows的限制,会发生什么情况?会不会把原来长度为n的Path全部替换为m。。。(问这个是因为今天装CTeX的时候,装完之后发现Path全部变成CTeX的环境变量了。。。安装前我备份过Path,然后我把备份前的Path加上CTeX新注册的Path,发现超过Windows的限制了。。。CTeX的官网自己也说有时候会发生Path丢失的问题。。。所以我开了个脑洞想会不会就是因为超限了呢?)
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com。
要查看更多选项,请访问https://groups.google.com/d/optout。
遇到过path 过长的情况,没注意当时有多长,但看上去在256左右。
解决办法是再建一个环境变量,把一堆路径放到那个新变量里,然后path里用%新变量%的方式绕过的。
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。