Shortcut doesn’t work

I am writing a very simple shortcut, but for any reason it is not working and I don’t understand why, maybe someone can help me with this. I want to create a PDF file with the information and same name as a Word document that I save in a particular folder, but it does not work. This is the screenshot of the shortcut: