标题: VBS如何bt.txt完全后在运行下一条命令? [打印本页]
作者: nbxas 时间: 2010-9-5 18:59 标题: VBS如何bt.txt完全后在运行下一条命令?
- Private Sub Form_Load()
- Dim iA As Integer
- Dim i As Integer
- Randomize
- Open App.Path & "\bt.torrent" For Append As #1
- For i = 1 To 16
- iA = Int(Rnd * 36) + 48
- If iA > 57 Then iA = iA + 7
- Print #1, Chr(iA);
- Next
- Print #1,
- Close
- '
- Unload Me
- Shell "cmd.exe /c ren bt.torrent bt.txt", vbHide
- Shell "cmd.exe /c bt.txt", vbHide
- Shell "cmd.exe /c ren bt.txt bt.torrent", vbHide
- End Sub
复制代码
该如何bt.txt完全后在运行下一条命令?ren bt.txt bt.torrent请详细指点!
谢谢
欢迎光临 批处理之家 (http://bbs.bathome.net/) |
Powered by Discuz! 7.2 |