no, that will be needed for escaping/masking as it's Microsoft Filesystem with Backslashes "\"
Not sure, but maybe it should be something like "Hdd1:\\\\......\\...\\", because like said, it must be escaped, i never tried, do a test on that
as for the rest of the Code
Check your line Indentation (get the example by gavin)
use "true" instead of 1 in FileSystem.MoveFile
check examples: https://github.com/XboxUnity/AuroraScripts/tree/master/UtilityScripts
clean code (better names for variables, functions)
use Debugger: https://www.realmodscene.com/index.php?/topic/7564-aurora-network-debugging/
check debug.log after crashes (there is one in the Aurora Directories)
maybe start with a "hello world" or just " bool FileSystem.FileExists(string path) with a print or a Message Box with the return Value, so you can see if the script works or the first path is really correct and working so you go step by step, instead of starting directly with file Operations.
PS: this thread should go to https://www.realmodscene.com/index.php?/forum/57-skin-development-and-lua-scripting/
It's not Aurora Support, tho.
I would write it down but i dont have my 360 currently, and too bad, we can't use the API on PC for Developing.