Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Making a new dir

From: mario:cassani:icl at: 28-Jun-2001 8:54

Hi Donald,
> I use a couple of lines, with my Amiga, to make a new directory: > > ; Create a drawer, if one does not exist > drawer: %/SD0/TSE-Data > IF NOT EXISTS? drawer [ MAKE-DIR drawer ] > > Why does this not work using a PC? > The real PC path is slightly different, but essentially the same. > I tried using backslashes, but that did not work, either. It > shouldn't matter.
I use this code with no problem both on Win9x and WinNT and I envy you for still having a (not burned) Amiga... newdir: %/c/test/new/directory/path if not exists? newdir [ make-dir/deep newdir ] Greetings Mario