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

st: Re: Error creating metafile if filename too long


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: Re: Error creating metafile if filename too long
Date   Sat, 12 Apr 2003 23:06:51 -0700 (PDT)

--- 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/



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