我正在尋找一個腳本,以便從17個字符長的數字中輸出大量的連續數字(每次一百萬)。 (EG 12345678912345678)VBScript中的數字序列生成
我基本上希望它像這個網站(http://sequencegenerator.com)工作,但使用我的CPU而不是他的。當我告訴它做了一百萬美元時,他的網站就鎖定了,而且我傾向於每次創造數百萬美元。
我從網上找到了這個腳本,但我不知道任何VisualBasic,所以我不確定如何使它適用於我。
Set WSHShell = Wscript.CreateObject("WScript.Shell")
Set FSO = Wscript.CreateObject("Scripting.FileSystemObject")
Set EnvVar = wshShell.Environment("Process")
tBestand= EnvVar("USERPROFILE") & "\Desktop\HexNumbers.txt"
Set Bestand = fso.createtextfile(tBestand,1)
For x = 1486262272 To 1486461337
Bestand.WriteLine(hex(x))
Next
Bestand.close
WScript.quit
嗯,有一個好主意xD我如何使這個輸出到文本文件而不是回聲? – SuperMar1o
稍作修改,但現在效果很好。謝謝! – SuperMar1o