Feb 20th, 2011, 02:39 PM
[WINDOWS Command] Batch File to Create a Clone
This is what we use to create remote service clones. You can use the same to create copies. This will create a deep copy.
REM: This batch file is used to create Remote Service clones
if '%1' == '' goto usage
if '%2' == '' goto usage
xcopy %1 %2 /e /i /q /h /r /k /y
echo Usage: CreateClone [Source Folder] [Destination Folder]
echo Source Folder: the name of the existing Remote service folder
echo Destination Folder: the name of the new Remote service folder
echo Example: CreateClone C:\Services\myremSvc1 C:\Services\myremSvc2
echo Example: CreateClone . ..\myremSvc2
if '%3' == '' pause
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
Click Here to Expand Forum to Full Width
Survey posted by VBForums.