0

How can I figure out where the Windows XP SUA ksh .profile file is on a system where I was not the person who installed it? (I'm searching google for the answer, but the combinations of ksh, windows XP, and profile lead to many, many hits that I am still digging through.) It is NOT in my user directory, so it is probably the system default .profile that I need to find?

Problem, if it has any bearing: The path is radically different before and after I start the ksh, and after the ksh starts it includes some contextually bad paths.

All I really want is to keep the path set up in the cmd.com batch environment from before ksh is invoked, but I think I first need to figure out where the change is coming from.

4

2 回答 2

1

它显然位于 C:\Windows\SUA\etc\profile

于 2013-09-09T02:57:54.963 回答
0

通过按 Windows-Key+R 打开运行对话框,然后键入以下命令,然后返回:

explorer "%USERPROFILE%"

应出现一个 Windows 资源管理器窗口,显示当前用户配置文件文件夹的内容。您要查找的文件可能在那里或某些子目录中,尤其是在内部ApplicationDataLocal Settings\ApplicationData(注意:我使用意大利语 XP 版本并且目录名称已本地化,因此我可能拼写错误)。

请注意,如果该.profile文件与隐藏属性集一起保存,您可能必须启用隐藏文件的可视化。

否则,您也可以在 中搜索C:\Documents and Settings\All Users,该文件夹是存储所有用户共有的所有设置的文件夹。

于 2013-09-08T18:56:15.083 回答