windowsbatch-filekshsua

Where is the Windows XP SUA ksh default .profile file?


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.


Solution

  • It is apparently located at C:\Windows\SUA\etc\profile