Hi A1880,
I do not think that it has something to do with Java, or even not with platform dependency.
- please give us a definition of "current working directory".
- please give us an example, in which ways did you use it.
Excerpts from the VB5-help
CurDir Function
Syntax
CurDir[(drive)]
The optional drive argument is a string expression that specifies an existing drive. If no drive is specified or if drive is a zero-length string (""), CurDir returns the path for the current drive.
ChDir Statement
Syntax
ChDir path
The required path argument is a string expression that identifies which directory or folder becomes the new default directory or folder. The path may include the drive. If no drive is specified, ChDir changes the default directory or folder on the current drive.
Remarks
The ChDir statement changes the default directory but not the default drive. For example, if the default drive is C, the following statement changes the default directory on drive D, but C remains the default drive:
ChDir "D:\TMP"
When someone asks me: I banned these functions and wiped them off my codes in 2001, because they lead to many errors in some windows-versions when using them in networks.
But they
are part of the VB6-Framework and so they should be part of the Jabaco-Framework.
for using it from your Jabaco program it is very easy, simply hold an internal variable that stores the path, and when you write something with
Print,
Write or
Put, the variable will be copied to the path to complete it, thats all - isn't it?.
regards
OlimilO