我这样运行,没有问题的,估计是你的输入参数有问题
Enter Directory:d:/
Enter Filename:reg156.txt