English, Article edition: TMPDIR: Stata module to indicate the directory Stata is using for a temporary directory Dan Blanchette

User activity

Share to:
 
Bookmark: http://trove.nla.gov.au/version/174628
Physical Description
  • code
Language
  • English

Edition details

Title
  • TMPDIR: Stata module to indicate the directory Stata is using for a temporary directory
Author
  • Dan Blanchette
Physical Description
  • code
Notes
  • tmpdir is designed for programmers who want to know what directory Stata writes temp files to. This can be helpful when using the file command to write intermediary files for a program. Since spaces in directory names can cause problems for programs running in Windows operating system, tmpdir replaces directory /​ subdirectory names that contain spaces, or optionally any name longer than 8 characters, with the first 6 non-space characters plus "~1" or "~2" (up to "~4"). After that it gets a bit crazy with hexadecimal replacements. Tmpdir shells out to DOS and finds the short directory name that DOS has come up with, so there's no attempt to guess the short name. This makes it possible to use this program on many different versions of Windows and always get the short name right. Tmpdir works on all operating systems.
  • tempdir, directory, temporary
  • RePEc:boc:bocode:s435506
Language
  • English
Contributed by
OAIster

Get this edition

  • Set up My libraries

    How do I set up "My libraries"?

    In order to set up a list of libraries that you have access to, you must first login or sign up. Then set up a personal list of libraries from your profile page by clicking on your user name at the top right of any screen.

  • All (1)
  • Unknown (1)
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.
None of your libraries hold this item.

User activity


e.g. test cricket, Perth (WA), "Parkes, Henry"

Separate different tags with a comma. To include a comma in your tag, surround the tag with double quotes.

Be the first to add a tag for this edition

Be the first to add this to a list

Comments and reviews

What are comments? Add a comment

No user comments or reviews for this version

Add a comment