Damus
ARGVMI~1.PIF profile picture
ARGVMI~1.PIF
Is there a program that can find every #DLL required by an #EXE, recursively, except DLLs inside C:\WINDOWS, and hardlink/symlink/copy them all into the folder that the EXE is in?

Because the way dxx-redux is doing it right now https://github.com/dxx-redux/dxx-redux/blob/57b933783bf16c178b722604114aa50f34579be7/contrib/packaging/windows/build_package.sh#L30 looks fragile af. If any of those DLLs is in a path with a space or newline in it, that script won't work right. Among other issues.

There's gotta be a better way to do this, but I have no idea what.

#programming