Home Notices Documents Classes Download Others Rice
Classes  >  application  >  CurrentDirectory
application class : CurrentDirectory getter

Description

Gets a path of the current directory.

Syntax

applicationInstance.CurrentDirectory

Arguments

None.

Return value

ClassDescription
stringA string representing the path of the current directory.

Sample code

1:

application app = new application();

2:

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