The point of the "--parent" switch is to copy a file (or a directory) with it's parent directory structure to another directory. This is not exactly a trivial task in a Windows batch file and as such, it's a great opportunity to introduce some not very widespread features of the command prompt (eg. setlocal/endlocal, the "&" command separator, string operations).
Did I already mention that Windows sux?

Batch scripting is so clumsy ... you have to write dozens of lines to get something that you can do within one line in any standard Unix/Linux shell.
Recent comments
2 years 34 weeks ago
4 years 3 weeks ago
4 years 3 weeks ago
4 years 5 weeks ago
4 years 6 weeks ago
4 years 13 weeks ago
4 years 13 weeks ago
4 years 13 weeks ago
4 years 13 weeks ago
4 years 14 weeks ago