Author Topic: How to create a new directory?  (Read 1994 times)

Paula

  • Community Member
  • Posts: 8
  • Hero Points: 0
How to create a new directory?
« on: July 16, 2010, 01:03:33 pm »
Hello,

  I have a question. Is it possible to create a directory with Slick-c?  I am trying to copy some files from a directory tree to another directory tree(that does'nt exist yet), but a I can't find a way to create that new directory tree (with code, not manually).  Am I missing something or that is impossible?

Thanxs. :)

Graeme

  • Senior Community Member
  • Posts: 1991
  • Hero Points: 228
Re: How to create a new directory?
« Reply #1 on: July 16, 2010, 02:36:47 pm »
Try make_path or mkdir.

Paula

  • Community Member
  • Posts: 8
  • Hero Points: 0
Re: How to create a new directory?
« Reply #2 on: July 19, 2010, 06:26:08 am »
Thanks. That worked :)