Attempting to run Link.Create on the root (when code is in # rather than in a sub-namespace) fails with a FILE ACCESS ERROR in case the forceFilenames parameter is 1 and the source parameter is "dir".
To reproduce execute these steps with the Link variable DEBUG set to 1 and ]udebug on:
]Link.Create # /path/to/any/empty/folder -forcefilenames -source=dir
FILE ACCESS ERROR: /path/to/any/empty/folder: Unable to move ("The process cannot access the file because it is being used by another process.")
Relocate[7] r,←nextto ⎕NMOVE nextfrom
⎕←nextfrom
/path/to/any/empty/folder/
⎕←nextto
/path/to/any/empty/folder/#/
Version info:
]tooLS.Version
Dyalog 18.2.46763 64-bit Unicode, BuildID ee417cdf
OS Windows 10 or Windows Server 2016 (10.0.19045) 64-bit
Link 3.1.2
SALT 2.9
UCMD 2.51
.NET .NET Framework 4.8.4614.0
Tatin 0.91.0-beta-2
Cider 0.23.5
WS 18.0
Attempting to run Link.Create on the root (when code is in
#
rather than in a sub-namespace) fails with a FILE ACCESS ERROR in case theforceFilenames
parameter is 1 and thesource
parameter is "dir".To reproduce execute these steps with the Link variable
DEBUG
set to 1 and]udebug on
:Version info: