5 * Created by Pavel Fedin on 10/13/10.
6 * Copyright 2010 AROS Development Team. All rights reserved.
10 #import <Foundation/Foundation.h>
12 #include "filesystem.h"
14 int SetRootDirectory(void)
18 NSString *home = NSHomeDirectory();
19 NSString *dir = [home stringByAppendingPathComponent:@"Documents/AROS"];
20 NSFileManager *fm = [NSFileManager defaultManager];
22 ret = [fm changeCurrentDirectoryPath:dir];