Ken Phipps wrote:
I'm using the 'GetTempPath' function, and I notice it returns the path string with short DOS style directory names. Would this be a problem on an NTFS volume that has creation of DOS 8.3 filenames turned off?

Probably not. GetTempPath shouldn't return the path of a directory that doesn't exist.


Note that when you disable short name creation, it does not _remove_ any short file names. It just prevents the creation of additional short names. Thus, the names of directories that existed when you installed the OS probably all have short file names already.

GetTempPath should return the value in the TMP or TEMP environment variables. If those variables hold the directory name in the short format and the short format doesn't refer to a valid directory, then that's not your problem. It's the user's problem (or the administrator's problem) for having misconfigured environment variables.

--
Rob

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to