@echo off
set username=账户名
set password=密码
set listener=orcl
set filename=
set /p filename=请输入导入数据的文件名:
set fromusername=当前的dmp文件中的某一个用户
imp %username%/%password%@%listener% fromuser=%fromusername% touser=%username% file=%filename%
pause>nul
echo 导入完成,按任意键退出