[PATCH] cmd: Implement builtin mklink command
Alexandre Julliard
julliard at winehq.org
Tue Oct 24 03:24:39 CDT 2017
Alistair Leslie-Hughes <leslie_alistair at hotmail.com> writes:
> + if(hard && !CreateHardLinkW(file1, file2, NULL))
> + WCMD_output_stderr(WCMD_LoadMessage(WCMD_READFAIL), file1);
> + else if(!junction && !CreateSymbolicLinkW(file1, file2, isdir))
> + WCMD_output_stderr(WCMD_LoadMessage(WCMD_READFAIL), file1);
> + else if(junction)
> + WINE_TRACE("Juction links currently not supported.\n");
Surely the options have to be exclusive. It makes no sense to try to
create multiple links for the same file.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list