The problem is in my opinion that weka.jar is not in your classpath.
You can either add weka.jar to your classpath, or run the same command but adding the classpath for weka:
java -cp "%CLASSPATH;C:\progs\Weka-3-6\weka.jar" weka.core.converters.CSVLoader filename.csv > filename.arff