日期:2014-05-20 浏览次数:21874 次
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Test {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String in = null;
while((in = reader.readLine()) != null){
System.out.println(in);
}
}
}
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
SETLOCAL ENABLEEXTENSIONS
set BIN_DIR=%~dp0
SET CLASSPATH=!BIN_DIR!
echo java -classpath %CLASSPATH% Test < jars.lst
java -classpath %CLASSPATH% Test < jars.lst
:end