1.

Solve : Copying a folder?

Answer» HELLO again,

I'm making myself an AUTO installer wich also copies folders into another folder. But the problem is that i don't have the code to COPY the whole folder to somewhere else.
I hope you guys (and girls) can help me!

Greetz RubenXCOPY?Hmm doesn't seem to work, I've got this so far:
Code: [Select]XCOPY "C:\ZStuffZ\CounterStrike Source\Data\CounterStrike Source\Level Parts\materials" "C:\ZStuffZ\CounterStrike Source\Data\CounterStrike Source\Level Parts\test"
The names of the root map is *materials* , in this map there 3 other maps, I want that the batch file copies them all with content to the map NAMED *test*

Thanks in advanceXCOPY /s "C:\ZStuffZ\CounterStrike Source\Data\CounterStrike Source\Level Parts\materials" "C:\ZStuffZ\CounterStrike Source\Data\CounterStrike Source\Level Parts\test"

The /s SWITCH copies all subfolders with contents.

try xcopy /? for more info.

uliThanks guys! I got it fully working now!


Discussion

No Comment Found