Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Host command and filename lengths

Status
Not open for further replies.

Mahatmt

Programmer
Jan 28, 2003
28
US

I am trying to copy a file in Oracle Forms 6.0 using the Host command. An example follows.

HOST ('COPY longfilename.txt longfilename.bak');

The command does not appear to work if the filename is longer than 8 characters (it must be using the DOS 8.3 format).

I welcome suggestions or possible alternatives to the HOST command that could be used to copy and delete files in a MS Windoes environment.

Thanks.

 
Are the filenames just long or also contain special characters like blank spaces? I successfully copy files with long names but in case of using blanks thay should be double quoted:

host('copy "C:\Documents and Settings\sam\tmp.txt", c:\tmp.txt')

Regards, Dima
 

Sem:

Thanks for replying. An example file name is:

T010017_200311171118.txt.

Can you try copying a file with this file name?

Thanks.

Mahatmt
 

I am using Forms 6.0 with Windows 2000 (on a Novell network).

Mike
 
Can you reproduce the error on local drive? I think that the problem may be in your Novell version (client or server). Is upgrading an option for you?

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top