Click here to Skip to main content
15,888,047 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i want to backup oracle database using my code
this is an command prompt statement
exp user/pass@xe FILE="D:\folder\xe.dmp"

its work, but if the backup path contains a space like this
exp user/pass@xe FILE="D:\new folder\xe.dmp"

this command will do the backup but with warnings and i cant find the backup file
what should i do to solve this?
Posted
Updated 21-Jul-15 4:43am
v2
Comments
[no name] 21-Jul-15 10:52am    
Try adding quotes to the path.

try this one

exp user/pass@xe FILE=@"D:\new folder\xe.dmp"
 
Share this answer
 
must use a single quotes for the path (thanks for Wes Aday for the hint)
exp user/pass@xe FILE='D:\new folder\xe.dmp'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900