如何实现%%文件读取
adonn 2003-01-11 04:02:08 我在win2000中设置环境变量set SUMIT_CONFIG=c:\sumit\
然后想在java代码中实现
File file = new File("%SUMIT_CONFIG%\\config.xml");
运行程序后报错
log4j:ERROR Could not read configuration file [%SUMIT_CONFIG%/log4j.txt].
java.io.FileNotFoundException: %SUMIT_CONFIG%/log4j.txt (The system cannot find the path specified)