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
1 week 1 day ago
1 week 1 day ago
1 week 6 days ago
1 week 6 days ago
2 weeks 4 days ago
2 weeks 5 days ago
2 weeks 6 days ago
3 weeks 5 days ago
3 weeks 6 days ago
3 weeks 6 days ago