External Tools Working Directory
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Fri Jul 23, 2004 1:43 pm
External Tools Working Directory
Hello,
How can I set an external tool's working directory to be the exhaustive directory path of the currently edited file - something like ${cfd}? Setting the directory path explicitely works fine, but attempts to set it relatively, i.e. dot or blank, place me in oXygen's installation directory. BTW, I am using oXygen 4.2 and java 1.4.2.
Thanks in advance.
Cheers,
Michael
How can I set an external tool's working directory to be the exhaustive directory path of the currently edited file - something like ${cfd}? Setting the directory path explicitely works fine, but attempts to set it relatively, i.e. dot or blank, place me in oXygen's installation directory. BTW, I am using oXygen 4.2 and java 1.4.2.
Thanks in advance.
Cheers,
Michael
Michael A. Guravage
guravage@solcon.nl
guravage@solcon.nl
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
In the next release of the editor the ${cfd} macro will be accepted as working directory. Until then you can use the following workaround:
Make a bat file that changes directory before calling your tool. Something like:
Make a bat file that changes directory before calling your tool. Something like:
- @echo off
echo The first argument was: %1
cd %1
rem - Instead of dir you can use any other command.
rem - and pass the following arguments using %2 %3 ...
dir
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service