[GAP Forum] creating directories

dmitrii.pasechnik at cs.ox.ac.uk dmitrii.pasechnik at cs.ox.ac.uk
Fri Jul 7 09:59:12 BST 2017


On Thu, Jul 06, 2017 at 07:46:29PM +0000, R.N. Tsai wrote:
> 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.

gap> Exec("cd ~/Desktop; mkdir blahblah");

would create the directory Desktop/blahblah

This works on a Unix-like system; I am not 100% sure whether a binary installation
of GAP on Windows is capable of this task, or it needs a full-blown
Cygwin environment for this.

Hope this helps,
Dima



More information about the Forum mailing list