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

st: Re: Re: Error creating metafile if filename too long


From   "george m hoffman md" <ghoffman3@wi.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Re: Error creating metafile if filename too long
Date   Sun, 13 Apr 2003 05:46:05 -0500

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" <huebler@rocketmail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Sunday, April 13, 2003 1:06 AM
Subject: st: Re: Error creating metafile if filename too long


> --- george hoffman <ghoffman3@wi.rr.com> 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/



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