www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21010] New: Windows symlinks

https://issues.dlang.org/show_bug.cgi?id=21010

          Issue ID: 21010
           Summary: Windows symlinks
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: svnpenn gmail.com

Windows symlinks

It seems currently D cannot create Symlinks on Windows:

https://dlang.org/library/std/file/symlink.html

but I dont really see a good reason why this is the case. Plenty of other
languages offer this, such as Go:

https://golang.org/pkg/os#Symlink

Nim:

https://nim-lang.org/docs/os.html#createSymlink,string,string

PHP:

https://php.net/function.symlink

Python:

https://docs.python.org/library/os#os.symlink

Dart:

https://api.dart.dev/dart-io/Link/create.html

--
Jul 03 2020