I have a folder that I need to monitor, and as soon as a new file is added, mainly clear text files, I need to print them to the default printer. I am running this on Windows Server 2008 R2.
I found a script on this site which is attached as test2.vbs that does exactly what I need but its giving me an error and since I am not much of a scripting guy I though you might help me.
Its giving me the error attached as error.png
It was suggested to me that above this line: Set objFolder = objShellApp.Namespace(objF
I add: WScript.Echo "Found " & objFile.Path
and see whether the path if a full UNC path.
The result is attached as capture.png.
Can someone help me solve this?