windows - How to copy a file to a directory in DOS, and create directories if necessary? - Super Use
How can I copy a file using DOS commands into a directory structure that may not yet exist? I need to be able to force the creation of the directory path to the target file location if that location ... I tried using something like: xcopy file.txt c:\...