# Re: How to click "OK" button automatically when reverting files from command mode

Date: 2007-05-17 10:32:31 CEST

On 18/05/07, kissingerChen <kchen@e5systems.com> wrote:
> I have installed TortoiseSVN at my machine, now I want reverting some files
> (or folders) from command mode. So I Use following command:
>
> TortoiseProc.exe /command:revert /path:"C:\test\testFolder" /notempfile
> /closeonend:3
>
> My question is: this command wills popup a window and then I have to click
> "OK" button manually.
>
> But I expect that I can click "OK" button automatically because I want to
> revert all the files in the folder.
>
> So can you guys help me to write the command? Which parameter should I add?
> I have googled and read help files, but I do not know.

If you do not want any user interaction, why are you using a GUI
program to do this? Install the subversion command line client, which
is much more suitable for non-interactive scripting.

Simon

```--
___
oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
\ \_/_\_/>    The coolest Interface to (Sub)Version Control
/_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org