On 6/11/2014 8:33 AM, Stephan Beal wrote:
On Wed, Jun 11, 2014 at 4:09 PM, JR <jr...@saintlyreverend.com <mailto:jr...@saintlyreverend.com>> wrote:

    Alternatively, you can add the location of Fossil to your PATH or
    the system PATH.  I use chocolatey as package manager, and it
    creates a folder that gets added to PATH.  I add a fossil.bat file
    in there (similar to the already existing batch files) so I can
    access it anywhere.  Before I started using chocolatey, though, I
    just added my main fossil directory to my PATH (usually
    c:\temp\fossil).


A minor _potential_ caveat: back when i used Windows/DOS (last millennium!) batch files could only pass on up to 9 (%1 ... %9, IIRC) arguments to other programs, so a fossil.bat might (assuming .bat files behave the same as back them) not allow you to run all the commands you want (e.g. passing 9 filenames to 'commit').

Or maybe .bat files have improved since then.


Yes... with cmd.exe, %* can be used to refer to all arguments.

Edward

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to