Re: Needed: a convention to indicate a path for Windows, Linux, and Mac

Subject: Re: Needed: a convention to indicate a path for Windows, Linux, and Mac
From: "Richard Smith" <radvas -at- gmail -dot- com>
To: techwr-l -at- lists -dot- techwr-l -dot- com
Date: Tue, 4 Mar 2008 23:55:09 -0800

Hi Leonard,

There are several ways to accomplish this. What you ultimately choose
probably depends on the level of technical sophistication of your readers.

I write for software developers, and fortunately they know the differences
between unix and windows paths. To denote an installation path, I usually
use a text variable, and not a literal path. Sometihng like
<install-dir>/product_name/file.cfg. Then, if necessary you can mention the
default installation path(s). Also I'm guessing that "c:/Program
files/Product_Name/Folder/File.cfg" is probably the default, but not
necessarily the actual path.

Not knowing any details about your case, I might be inclined to explicitly
mention all three default installation paths, specifically because they can
be so different from one another. For example

(win) --> C:\Program Files\SuperCoolProgram
(mac) --> /Applications/SuperCoolProgram or ~/Library/Application\
Support/SuperCoolProgram
(Linux) --> /opt/SuperCoolProgram or /usr/local/SuperCoolProgram

On Windows, people are likely to know the installation path if they override
the default. On Mac and Linux, the "application" paradigm is a little
different. Config files don't always go in the same location as the
executable. So users may not have a clue where the config file lives even if
they installed to the default location and they know where the executable
lives. For example, the executable might live in /usr/local/bin, but the
config file might be in /usr/local/lib, or even a hidden directory in the
users home dir, like ~/.superCoolProgram/file.cfg.

hth,

Richard S.





----------------------------------------


From: "Leonard C. Porrello" <Leonard -dot- Porrello -at- SoleraTec -dot- com>

* The applications I am documenting runs on Windows, Linux, and Mac. In
several places, I need to indicate to users that the files they need are
located at the application installation location on the hard drive. In
Windows, this is "c:/Program files/Product_Name/Folder/File**.cfg". In
Linux, the path is different, starting from the fact that there is no
"c:".

I need a convention to indicate path prior to
"/Product_Name/Folder/File.cfg**". The convention needs to work for
Windows, Linux, and Mac.

I currently have ellipses (".../Product_Name/Folder"), but my
development lead tells me that this won't do as ellipses are sometimes
used literally. Does anyone have any other ideas?

Thanks!

Leonard C. Porrello
SoleraTec LLC
www.soleratec.com*
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Create HTML or Microsoft Word content and convert to Help file formats or
printed documentation. Features include support for Windows Vista & 2007
Microsoft Office, team authoring, plus more.
http://www.DocToHelp.com/TechwrlList

True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity! http://www.helpandmanual.com

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.


Previous by Author: Re: Off-shoring of tech writing
Next by Author: Re: Seeking recommendations: LAMP books, tutorials, etc.
Previous by Thread: Posting on behalf of a friend: RH6 to RH7 CSS conversion (using FM) gets messed up
Next by Thread: Using DITA map to build FrameMaker book


What this post helpful? Share it with friends and colleagues:


Sponsored Ads