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

st: Error creating metafile if filename too long


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

In Windows XP the command -graph export filename.wmf- only works if
the filename has fewer than 22 characters.

. graph export 1234567890123456789012.wmf
error creating metafile
r(693);

. graph export 123456789012345678901.wmf
(file 123456789012345678901.wmf written in Windows Metafile format)

. graph export "1 2 3 4 5 6 7 8 9 0 1 .wmf"
error creating metafile
r(693);

. graph export "1 2 3 4 5 6 7 8 9 0 1.wmf"
(file 1 2 3 4 5 6 7 8 9 0 1 .wmf written in Windows Metafile format)

This problem does not exist in Windows 98. I do not know if the
Windows XP problem was introduced with the latest update or if
existed previously. Stata 8 can export graphs in EMF, PNG, PS or EPS
format with filenames longer than 21 characters in Windows XP.

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