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 <>
Subject   st: Re: Error creating metafile if filename too long
Date   Sat, 12 Apr 2003 23:06:51 -0700 (PDT)

--- george hoffman <> 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
> 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

. graph export C:\1234567890123456789012.wmf
(file C:\1234567890123456789012.wmf written in Windows Metafile

. 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
*   For searches and help try:

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