× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Paul,

The home directory is only the DEFAULT current working directory. When you use an relative path (as others have explained) it starts with whatever your current directory happens to be... so if they happen to have a home directory (i.e. are set up properly) the default current directory is different, and therefore the code fails.

It is expected that users can use commands like CHGCURDIR, CHGDIR, or CD to change their current directory at any time. This would also break your application.

Imagine if an application like Microsoft Word were to stop working as soon as a user changes which folder a document is saved into. You wouldn't be too happy with Microsoft, would you?

Same here. Your application is broken. The fact that this has worked since 2002 only indicates that your users don't understand how to use the IFS, and aren't really using it.

-SK


On 3/20/18 2:21 PM, Steinmetz, Paul wrote:
Thank you everyone for all the tips.

We have other processes that might be depending on the home directory being there.
I'm reluctant to change to '/' for all users.

The code is from a contractor from 2002.

The entire app is scheduled to be rewritten.

Paul


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.