Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Directory Create Utility
#3
I like using dots but mostly just when I use TYPEs, for the same reason.

So if I had

LINE INPUT "Make what Dir/Path: "

And input "myfolder\folder1\pete"

I would get a$ = "myfolder\folder1\pete"

Parse it out with INSTR()
myfolder
folder1
pete

Check for IF _DIREXISTS for each parsed dir name.

Make the directory if it does not exists.

Follow the parsing down the path to completion.

That's handy.

Does it also get into making multiple sub-directories like: myfolder/folder1, myfolder/folder2, etc.? I used to use a FOR/NEXT loop to assign sub-folders numbers with a MKDIR loop for that.

Pete
Reply


Messages In This Thread
Directory Create Utility - by eoredson - 09-16-2022, 02:58 AM
RE: Directory Create Utility - by SpriggsySpriggs - 09-16-2022, 01:07 PM
RE: Directory Create Utility - by Pete - 09-16-2022, 03:18 PM
RE: Directory Create Utility - by eoredson - 09-17-2022, 02:03 AM
RE: Directory Create Utility - by SpriggsySpriggs - 09-16-2022, 06:10 PM
RE: Directory Create Utility - by Pete - 09-17-2022, 03:48 AM
RE: Directory Create Utility - by Kernelpanic - 09-17-2022, 11:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Simple Finances Utility ASCIIhole 6 471 02-02-2026, 06:21 PM
Last Post: ASCIIhole
  Marquee Utility / Demo for Screen 0 Pete 3 635 09-18-2025, 12:42 AM
Last Post: Pete
  Keymapper Utility eoredson 0 524 05-31-2025, 01:38 AM
Last Post: eoredson
  Another Directory Tree Utility eoredson 0 502 04-18-2025, 02:52 AM
Last Post: eoredson
  The Copyit Utility eoredson 4 1,302 04-17-2025, 04:11 AM
Last Post: eoredson

Forum Jump:


Users browsing this thread: 1 Guest(s)