Core Function DirCopy
From Sputnik Wiki
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Created page with "<pre> DirCopy ( <sourcepath>, <destpath> ) </pre>  === Description ===  Copies a directory and all sub-directories and files (Similar to xcopy).  === Parameters ===  ==== sourcep...")  | 
		m (1 revision)  | 
		
| (One intermediate revision by one user not shown) | |
Latest revision as of 12:37, 14 June 2015
DirCopy ( <sourcepath>, <destpath> )
Contents | 
Description
Copies a directory and all sub-directories and files (Similar to xcopy).
Parameters
sourcepath
The path to copy.
destpath
The path to copy to.
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
If the destination directory structure doesn't exist, it will be created (if possible).
Example
DirCopy("c:\\Myfolder", "C:\\Test");