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.......??
----- Original Message -----
From: "Friedrich Huebler" <[email protected]>
To: <[email protected]>
Sent: Saturday, April 12, 2003 6:04 AM
Subject: st: Error creating metafile if filename too long
> 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/
*
* 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/