[sdiy] way OT: DOS Commands
mike ruberto
somnium7 at gmail.com
Sat Jan 26 17:13:44 CET 2008
>From looking at the help I came up with this
C:\Docs>xcopy Webmind_Public\* C:\temp /s /i
Worked like a charm except the destination directory got named docs. I
see how to fix this though.
I'm in batch file bliss now, thanks to everybody for the help!
Mike
On Jan 26, 2008 9:50 AM, Scott Gravenhorst <music.maker at gte.net> wrote:
> "mike ruberto" <somnium7 at gmail.com> wrote:
> >Sorry for the off-topic post but I can't seem to locate any computer
> >geeks lately through other channels.
> >I haven't had to do any DOS command line stuff for a long time and I
> >guess I'm rusty.
> >I need to copy an entire directory tree. In linux it would be something like:
> >cp -Rf [path] *
> >
> >So I tried in DOS:
> >
> >xcopy [path] *.*
> >
> >For some reason this only got me the first file in the target
> >directory. What gives?
> >
> >I'm actually trying to write a batch file.
> >Any help much appreciated.
>
> Help is available this way:
>
> XCOPY /?
>
> You need to specify that source path with a *.* at the end to include all files in that
> directory, such as:
>
> XCOPY C:\WINDOWS\*.* D:\*.*
>
> Assuming D: is a writable drive, the files in the WINDOWS dir will be copied to the root of D:
>
>
> -- ScottG
>
> -------------------------------------------------------------
>
> -- Scott Gravenhorst
> -- GateMan-III - FPGA Based Monophonic MIDI Synthesizer with SVF
> -- PolyDaWG/8 - FPGA Based 8 Voice Polyphonic MIDI Synthesizer
> -- FatMan: home1.gte.net/res0658s/fatman/
> -- NonFatMan: home1.gte.net/res0658s/electronics/
> -- When the going gets tough, the tough use the command line.
>
>
More information about the Synth-diy
mailing list