My Oracle Support Banner

Host('Dir <dirname> >files.txt\') Outputs Blank files.txt File if Dir Name has White Space (Doc ID 284248.1)

Last updated on MARCH 10, 2021

Applies to:

Oracle Forms - Version 10.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

 Running the following command from forms:

HOST ('dir /a-d/b ' ||: directory || '> c:\files.txt', NO_SCREEN);

outputs a blank files.txt file if the directory name contains white space.

For example, the following command reproduces the problem:

HOST('DIR/A-D/B C:\ARCHIVO OF PROGRAMS> C:\files.txt', NO_SCREEN).

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.