Consultor Eletrônico



Kbase 21723: OS-RENAME Converts File Names to Uppercase on Windows
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/05/2002
SUMMARY:

This Knowledge Base Solution applies to Progress Version 8 and higher till Progress 9.1C (included) on MS Windows.

The OS-RENAME 4GL statement converts file names to uppercase on Windows, but not on UNIX.

This has been fixed in 9.1D.

EXPLANATION:

File names had to be converted to uppercase when Progress 4GL was supported on DOS and Windows 3.1, however these old platforms are no longer supported in Version 9.

SOLUTION:

Use OS-COMMAND instead of OS-RENAME. For example,
OS-COMMAND SILENT VALUE("RENAME C:\MyPath\Doc2.txt Hello.txt").