You can automate all TortoiseSVN commands through the command line, as described in the help files . Or you can directly install and invoke subversion binaries.
One thing you might want to consider is the fact that the export command will only copy version files (files that are under version control). If you have additional files that also need to be copied (e.g. build-output or generated files), I would recommend using a different approach, for example. for example, the command line solution (using xcopy ) shown by TheCatcher in this forum post :
- Create a text file (e.g.
c:\ignore.txt ) that lists all the files that should not be exported / copied (usually it contains only one line: .svn to exclude SVN folders). - Create a batch file containing the following command to export:
XCopy C:\WorkingCopyFolder C:\TargetFolder /EXCLUDE:C:\ignore.txt /E /C /I /F /R /Y
source share