大神帮忙鉴定下
我的脚本: test.bat
@ECHO OFF
ECHO Start at %time% %date% ...
SET FILE_NAME=exp_test_%date:~,3%
exp system/oracle@RACfile=%file_name%.dmp tables=proddta.f0101
ECHO Finished at %time% %date% ...
但是去运行的时候又是这个错误
C:\Users\Administrator>E:\JDEDBBACK\test.bat
Start at 20:24:48.42 ?? 2014/02/21 ...
Export: Release 11.2.0.3.0 - Production on Fri Feb 21 20:24:48 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit
Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Data Mining and Real Application Tes
EXP-00028: failed to open exp_test_D:\app\Administrator\product\11.2.0\client_1D
:\app\Administrator\product\11.2.0\client_1.DMP for write
Export file: EXPDAT.DMP >
为什么我的日期变量就变成了2次路径了呢?
%file_name%
为什么不是日期
而是
D:\app\Administrator\product\11.2.0\client_1D
:\app\Administrator\product\11.2.0\client_1
这个是我oracle client软件安装位置啊!
|