windowsbatch-filecommand-linecmdmklink

Symlink dll files from one folder to another using mklink


How can i symlink all the dll-s from another application to my bin folder if i don't have the option to copy local those dll's?

Something like:

mklink /h "C:\myApplication\bin\*.dll" "C:\directoryWithTheDlls\bin\*.dll"

Solution

  • I have decided to copy everything with this command:

     "/c mklink "C:\myApplication\bin\CopiedAssemblies" "C:\directoryWithTheAssemblies\bin" /j"