level 1
lingbinbai
楼主
以下是部分代码
1. Set WshShell = CreateObject("WScript.Shell")
2. fname = Date
3. cmd = "exp log=../jkbackup/" & fname & "_jk_bak.log
4. file=../jkbackup/" & fname & "_jk_bak.dmp parfile=jk_exp.txt"
5. WshShell.run cmd
6. Set WshShell = Nothing
7. 'WScript.echo cmd
其中3、4行我看不懂。第5行我知道是执行cmd变量里的代码。
第7行输出??
大家见谅,以前没接触过VBS。
2014年01月07日 03点01分
1
1. Set WshShell = CreateObject("WScript.Shell")
2. fname = Date
3. cmd = "exp log=../jkbackup/" & fname & "_jk_bak.log
4. file=../jkbackup/" & fname & "_jk_bak.dmp parfile=jk_exp.txt"
5. WshShell.run cmd
6. Set WshShell = Nothing
7. 'WScript.echo cmd
其中3、4行我看不懂。第5行我知道是执行cmd变量里的代码。
第7行输出??
大家见谅,以前没接触过VBS。