Results 1 to 2 of 2
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Make Directory (XL97:SR2)

    I'm encountering a strange result in trying to create subdirectories via code.

    As an example: MKDir "C:MyDirLevel01" will not create the subdirectory structure. If I break the code down into two lines: MKDir "C:MyDir" and MKDir "C:MyDirLevel01" I finally arrive at the correct subdirectory structure.

    Why can't it be resolved with one line of code?

    Thanks,
    John

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Make Directory (XL97:SR2)

    YOu can't make level01 in
    "C:MyDirLevel01"

    until
    "C:MyDir is created

    Steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •