windows start script for cassandra cli

Patch by Dirk Weber; reviewed by eevans for CASSANDRA-549

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@835939 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Evans 2009-11-13 17:50:26 +00:00
parent f21052e916
commit 185d436fdb
1 changed files with 16 additions and 0 deletions

16
bin/cassandra-cli.bat Normal file
View File

@ -0,0 +1,16 @@
@echo off
SETLOCAL
SET CASSANDRA_LIBS=%CASSANDRA_HOME%\lib
FOR %%a IN (%CASSANDRA_HOME%\lib\*.jar) DO call :append %%~fa
java -cp %CASSANDRA_LIBS% org.apache.cassandra.cli.CliMain
:append
SET CASSANDRA_LIBS=%CASSANDRA_LIBS%;%1%2
goto :finally
:finally
ENDLOCAL