1

The batch file i intend to use should actually produce the svnlog in XML format in my C:\ drive.

But it shows an error that:

The filename,directory name, or volume label syntax is incorrect

My code:

     @echo off
     cls
     set SOURCE=https://xxxx//repos/trunk
     set SVN=C:\Program Files\subversion-cli
     set Des=C:\
    "%SVN%\svn.exe"
    /command:svn log --xml > %Des%svnlog.xml /path:"%SOURCE%" /closeonend:2
     pause

Require some guidance. Probably a rectification of my script as I am a beginner in scripting.

1
  • /command:svn is a part from another song - TSVN amd it's TortoiseProc backend Commented Feb 14, 2012 at 16:01

1 Answer 1

1
svn log --xml %SOURCE% > %Des%svnlog.xml

OR

TortoiseProc /command:log /path:"%SOURCE%" /outfile:%Des%svnlog.xml

(TBT!)

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.