as a wild guess, rename your folder
C:\new folder\mircscript\
to
C:\newfolder\mircscript\

that or go find every filename reference that is going to fail because of the space in the filepath and use a $+(", whatever ,") to repair the line(s)

FEX where you have a $$1- which will hold the path/filename
enclose it with "" like $+(",$$1- ,")