Umm.. What in the ever loving heck is the extra backslash at the beginning and superfluous frontslash at the end for? Either one of those will derail your code.
It should also be noted that if you have spaces anywhere in your path, you need to pass the path with quotes around it:
"''O:\Form\NewFolder\trialdocument with spaces.doc"''
Thank you for the help. The last slash up above was my fat finger. But yes, that worked out great.