Update: I've added the alias and run the commands with the following return.

1
foo
-
* /write: error writing 'C:\Users\User Name\AppData\Roaming\mIRC\test.ini' (line 100, AutoIJ_Remote.ini)

I appreciate your assistance but I haven't done anything with scripting in such a long time so I may just end up scraping it.