Yes Darren, I am quite aware of that but I was trying to create an arbitrary number of folders and subfolders _at one fell swoop_

Paul

On 01/06/2022 00:00, Darren wrote:
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:[email protected]] On Behalf Of Paul Newton
Sent: Wednesday, 1 June 2022 8:44 AM
To:[email protected]
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: [email protected]
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/[email protected]
** 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