|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > File > DBWAppendFile |
Append a file to another one.
Sub DBWAppendFile(SourcePath, DestinationPath)
SourcePath |
the file to read data from |
|---|---|
DestinationPath |
the file to append to |
Sub main()
SourcePath="c:\temp\first.txt" 'this file contains a string like "one,two,three,"
DestinationPath="c:\temp\second.txt" 'this file contains a string like "four,five,six "
DBWAppendFile SourcePath, DestinationPath
'as a result second.txt will contain string four,five,six one,two,three,
End sub