>Hello Jos,
>
>Thanks for your reply.
>yes, I verified everything and tested and tested ...
>
>lc = GETENV('Temp') && my Temp-Dir
>MkDir (ADDBS(lc) + 'Test') && works
>MkdIr (ADDBS(lc) + 'Test\Test\Test') && doesn't work
>
>The problem lies in specifying more than one non-existant subfolders.
>
>Another anomaly :
>? GETENV('TEMP') and ? GETENV('TMP') show the path as 8.3 ("F:\DOKUME~1\Matthias\LOKALE~1\Temp") while
>? GETENV('HOMEPATH') and other show the path as long-filename("\Dokumente und Einstellungen\Matthias")
>
>XP Pro and VFP8 here.
>Could you try MkDir (ADDBS(GETENV('TEMP')) + 'Test\Test') and see if it works ?
>
Matthias. Your example works for me on WinXP Pro SP1 and VFP8. i.e.;
MkDir (ADDBS(GETENV('TEMP')) + 'Test\Test')
My temp folder is "C:\WINDOW~1" but really its "c:\windows_temp"
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.