echo %cd:~0,1% set dir_u=%cd% echo Current Directory is %dir_u%. cd/d "C:/Program Files/MySQL/MySQL Server 5.0/bin" set comm=mysqladmin -u root -proot create logistics echo %comm% set comm=%dir_u%/logistics.sql mysql -u root -proot logistics<%comm% copy/y %dir_u%/SCHIPRTL.dll c:/Windows/System32 echo 导入数据完成,按任意键退出 @pause>nul @echo. @exit