Remove the containing square brackets, enclose your path in "
, and since this is python, you'll need to escape your backslashes using another \
, or use forward slashes instead.
All together your first line should be something like
path = system.file.openFile(
"G:\\DeptDrive\\awhs\\ASRS MAINTENANCE\\Archive\\ASRS M..."
)
or the better(proper) way:
path = system.file.openFile(
"G:/DeptDrive/awhs/ASRS MAINTENANCE/Archive/ASRS M..."
)
If you scroll further down in the manual link that Kevin provided you should see example code.
Also, when posting code, please post it as formatted text, see Wiki - how to post code on this forum. It makes it easier for others to copy/test code instead of having to read off a picture and manually retype it.
As a warning, if this is a shared network drive you should be using full UNC paths instead of the mapped drive letter.