Stata for Windows can generally handle filenames containing
apostrophes but some commands cannot. One such command is -log2html-,
available at SSC.
. log2html "Cote d'Ivoire.smcl"
file Cote dIvoire.smcl not found
r(601);
Can -log2html- be made to recognize a file with an apostrophe in its
name, perhaps through clever use of additional quote marks? The only
solution I found (besides renaming all offending files, which is
impractical) is a combination of -copy- and -erase- commands.
. copy "Cote d'Ivoire.smcl" "Cote dIvoire.smcl"
. log2html "Cote dIvoire.smcl"
. copy "Cote dIvoire.html" "Cote d'Ivoire.html"
. erase "Cote dIvoire.smcl"
. erase "Cote dIvoire.html"
Friedrich Huebler
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
*
* 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/