Creating director one folder at a time gives the results you desire.

e.g.   Following gives desired results.

mkd("C:\tES\xyZ")

PROCEDURE mkd(vPath as String)

  FOR n = 2 TO OCCURS("\",vPath)  
    MD(SUBSTR(vPath,1,ATC("\", vPath, n)))
  ENDFOR   
  
  MD &vPath  
  
ENDPROC

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul Newton
Sent: Wednesday, 1 June 2022 8:44 AM
To: profoxt...@leafe.com
Subject: Re: A better way to create directories?

Same here - Win10 64 bit

On 31/05/2022 23:41, AndyHC wrote:
> Nope! - I had a C:\Temp dir already and it created C:\Temp\XyZ -
> I also tried  MKDIR "C:\TempXyZ"  and that also worked.
>
>    Win10 64 bit
>
> On 31-May-22 11:17 PM, Paul Newton wrote:
>> Andy
>>
>> On my system
>>
>> MkDir "C:\Test1\Test2"
>>
>> Creates the folders in lowercase (test1 and test2).  Any ideas?
>>
>> Paul
>>
>> On 31/05/2022 23:07, AndyHC wrote:
>>> MKDIR "C:\Temp\XyZ"
>>
>>
>> --- StripMime Report -- processed MIME parts ---
>> multipart/alternative
>>  text/plain (text body -- kept)
>>  text/html
>> ---
>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/00af01d87542$3320ab60$99620220$@ozemail.com.au
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to