Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Cross-platform mobility


From   "Danielle H. Ferry" <[email protected]>
To   StataList <[email protected]>
Subject   st: Cross-platform mobility
Date   Mon, 22 Sep 2003 14:00:53 -0400

Hi,

Not sure if there is a solution to this, but I figured I'd throw it out
there. I have an external hard drive which I use on both a Mac (OS X) and a
PC (Win XP). I write all my Stata work to this HD. I sometimes call datasets
or do-files from directories other than the one in which I am working. In
this case, it is necessary to list the full pathname. The problem is that
the pathname is specified with ":" as separators (i.e.,
:hd:bigdirectory:smallerdirectory:filename.do) on a Mac but with "\" on a PC
(i.e., C:\bigdirectory\smallerdirectory\filename.do). Notice also, that a
Mac indicates the hard drive name by putting a ":" in front of the pathname
and a PC specifies the hard drive name by putting a ":\" after the hard
drive name. Much thanks for any ideas!

-- 
Danielle H. Ferry
National Bureau of Economic Research
365 Fifth Avenue, 5th Floor
New York, NY 10016
 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index