- Jun
- 794
- 7
Is there a way to copy a directory tree to another location without having to type the name of the directory twice on the command line? E.g., suppose Bar is a directory in Foo1 and I want to copy it and its contents to Foo2 (which does not contain a directory named "Bar"). I can do
copy /s \Foo1\Bar\* \Foo2\Bar\
But, this requires me to type "Bar" twice.
TCC 12.00.36 Windows Vista [Version 6.0.6002]
copy /s \Foo1\Bar\* \Foo2\Bar\
But, this requires me to type "Bar" twice.
TCC 12.00.36 Windows Vista [Version 6.0.6002]