This worked for me to return the result of a call to the 'fc' command to compare two files. It captures the exit code from 'fc' as the return value from the call to wscript.run:
function CompareFiles(file1, file2)
Dim objWshShell ' Windows script host shell object
dim nRetVal '...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.