| SbFileHelperSetCurrentDirectory Method  | 
Sets the current working directory. 
 
Namespace: OIV.Inventor.HelpersAssembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2025.2.0.0 (10.18.0.0)
Syntaxpublic static int SetCurrentDirectory(
	string directory
)
Public Shared Function SetCurrentDirectory ( 
	directory As String
) As Integer
public:
static int SetCurrentDirectory(
	String^ directory
)
static member SetCurrentDirectory : 
        directory : string -> int 
Parameters
- directory
 - Type: SystemString
 
Return Value
Type: 
Int32
RemarksReturns 0 if successful, else one of the POSIX "chdir" error codes. 
See Also