[GAP Forum] creating directories

R.N. Tsai r_n_tsai at yahoo.com
Fri Jul 7 18:02:08 BST 2017


"CreateDir()" is the simplest way and it did work on Windows; I'm trying to make my code OS independent so it would be nice if  it is made more official in a future release.Thanks,R.N.

      From: Max Horn <max at quendi.de>
 To: R.N. Tsai <r_n_tsai at yahoo.com> 
Cc: GAP Forum <forum at gap-system.org>
 Sent: Friday, July 7, 2017 2:51 AM
 Subject: Re: [GAP Forum] creating directories
   

> On 06 Jul 2017, at 21:46, R.N. Tsai <r_n_tsai at yahoo.com> wrote:
> 
> Dear GAP Forum,
> I'd like to create a directory on my desktop under GAP control. I found the "DirectoryDesktop" command butI couldn't find any "mkdir" equivalent commands; are there any options?Thanks,R.N.

There is an *undocumented* kernel function
  CreateDir()
you could use, but we make no guarantees that it'll stay (but right now, it doesn't seem likely to be removed).

Or you could use IO_mkdir() from the IO package; this one is documented, but rather unix centric, so I am not sure how well it works on Windows, in case you are using that.

Cheers,
Max

   

|  | Virus-free. www.avg.com  |



More information about the Forum mailing list