@echo off
set hour=%time:~,2%
if "%time:~,1%"==" " set hour=0%time:~1,1%
set temp=%date:~0,4%-%date:~5,2%-%date:~8,2%-%hour%-%time:~3,2%-%time:~6,2%
exp JHPT/[email protected] file=E:\Backup\jhpt_%temp%.dmp log=E:\Backup\jhpt_%temp%.log owner=jhpt
exit
时间: 2024-10-07 20:11:36