i think this has something to with where you start stata (the current
directory) vs. the default save folder for file types that are registered by
another program (like .wmf, probably opens with paint or something,
defaulting to '...\my documents'
----- Original Message -----
From: "Friedrich Huebler" <[email protected]>
To: <[email protected]>
Sent: Sunday, April 13, 2003 1:06 AM
Subject: st: Re: Error creating metafile if filename too long
> --- george hoffman <[email protected]> wrote:
> > does it have to do with the pathname length limit (80 chars i think
> > in all windows version) which might be hitting you if you are
> saving
> > to X:\documents and settings\username\my documents.......??
>
> I think you are right. When a WMF file is exported to the root folder
> C:\ there is no problem. However, why does the path length not affect
> export to EMF, PNG, PS, or EPS format? And why does Stata return the
> full path only when WMF or EMF files are exported?
>
> . graph export 1234567890123456789012.wmf
> error creating metafile
> r(693);
>
> . graph export C:\1234567890123456789012.wmf
> (file C:\1234567890123456789012.wmf written in Windows Metafile
> format)
>
> . graph export 1234567890123456789012.emf
> (file C:\Documents and Settings\...\1234567890123456789012.emf
> written in Enhanced Metafile format)
>
> . graph export 1234567890123456789012.png
> (file 1234567890123456789012.png written in PNG format)
>
> Friedrich Huebler
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.yahoo.com
> *
> * 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/
*
* 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/