Two
Note that you can also use cmd /k to launch a new
cmd shell which remains after the command finishes.
(Contrast:
Start:Run:"cmd /k svn --version"
Start:Run:"cmd /c svn --version")
Stefan's answer is also completely reasonable; it's
just a matter of what you want to happen.
Perhaps the best solution though is a tweak to Stefan's:
> make a .bat file:
svn log /path/to/file/or/folder > tempfile.txt
cmd /c tempfile.txt
^^^^^^
This will launch the default action on .txt files
(which is notepad.exe by default, but could have
been over-ridden to be emacs, FooEdit, or whatever
the developer's preference is).
--Jim
On Wed, 17 Sep 2003, Steve King wrote:
>
> ----- Original Message -----
> From: "Sindbad the Seafarer" <sindbad.the.seafarer@gmx.net>
>
> > > I don't think so. You're request is about redirecting and formatting
> > > the output of commands, not about executing a command at specific
> > > "positions" of an action.
> >
> > Yes, no. Towards the end of an action it should execute e.g.
> > notepad.exe and print the output to it.
> >
> > That kind of feature can be done with the CL
> > > client. If you don't want user interaction use the corresponding
> > > switch (--non-interactive).
> >
> > That switch would just be the opposite (or almost) of what I want: I
> > want the log or status report be shown. Calling svn log from within
> > another app (the HTML editor here) has the CL client just flash a
> > black screen not the fastest reader can read.
>
> make a .bat file:
> svn log /path/to/file/or/folder > tempfile.txt
> notepad.exe tempfile.txt
>
> (the ">" redirects the output of svn to the file "tempfile.txt")
>
> Stefan
>
> P.S. please don't CC me - I already receive the mails from the
> list - I always get your mails twice :)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 19 02:01:10 2003