Remember to write out which SDK you are using. This so that users only interested in one SDK doesn’t have to read about all the other ones.
As Charon pointed out, your problem is that you are using a path to the C: drive and there is no C: drive on the controller, its root paths usually start with hd0a. Why that works on the VC is because it resides on a PC.
This is why if you use both virtual and real controllers its better to use relative environment handles. For instance look how it is handled in the Backup and Restore chapter.
By using the “string backupDir = “(BACKUP)$” + backupDirName;” line you would get different paths if its virtual or real, but it would both be pointing to the Backup folder on the controller. Same thing with HOME as per the File System Domain topic.