Home Cooker Classes Others Rice
Classes  >  envi  >  CurrentDirectory
envi class : CurrentDirectory getter

Description

Gets a path of the current directory.

Syntax

enviInstance.CurrentDirectory

Arguments

None.

Return value

ClassDescription
stringA string representing the path of the current directory.

Sample code

1:

envi en = new envi();

2:

string path = en.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.