Home Cooker Classes Others Rice CookerGX
Classes  >  cooker  >  CurrentDirectory
cooker class : CurrentDirectory getter

Description

Gets the path of the current directory.

Syntax

cookerInstance.CurrentDirectory

Arguments

None.

Return value

ClassDescription
stringA string representing the path of the current directory.

Sample code

cooker c = new cooker();

string path = c.CurrentDirectory;

Notes

Please be careful, even if you execute the same script, the current directory may be different depending on the execution method.

Links for reference

None.

Copyright © Rice All rights reserved.