SQL Developer Loader Export Without Path Name On INFILE

I am using sql loader to deliver some files to my client. I LOVE that you can use sql developer's export feature to create the LDR and CTL files (type: loader in the export wizard). However, it embeds the file name like this


in the control file. If I manually remove C:\DEVTOP\PROJ1\, they work great in any directory.
Since I have many tables though, I'd love to know if there is a way to have sql developer generate my CTL files without sticking the whole path in there like that...
Jay ReddAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DavidSenior Oracle Database AdministratorCommented:
If a parameter is absent from the control file, you should be able to specify it on the command line.  My preference would be to set an O/S variable, load it with the desired string, and reference the variable in the control file.

Syntax attached.

Solution example: http://www.orafaq.com/forum/t/12234/0/
Jay ReddAuthor Commented:
It's not absent, I WANT it to be absent. I want to avoid manual editing, not add more manual editing.
DavidSenior Oracle Database AdministratorCommented:
I understand.  Did you read through the solution example?  INFILE resolves to a variable that's defined outside of the job run.  


for fi in source1 source2; do
export INFILE_loc=$fi
$ORACLE_HOME/bin/sqlldr..... INFILE='INFILE_loc'

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.