1
var WshShell = new ActiveXObject("WScript.Shell");
var commandLine = "svnadmin dump " + repoFullPath + " > " + repoName + ".dumpfile";
WshShell.Exec(commandLine)
我想在Windows上运行cscript但看起来好像它什么都不做。它不创建转储文件。svn转储失败,WScript.Shell
我在做什么错误?
你是如何调用此脚本?这是一个钩子脚本? repoFullPath和repoName的值是什么?这些如何得到重视? – 2009-01-14 23:56:36