- 417 名前:デフォルトの名無しさん mailto:sage [2019/10/04(金) 12:18:00.19 ID:mgLzdBVB.net]
- ありがとうございます
Function Prompt(Text,Default) WScript.Echo(Text) Set WshShell = CreateObject("WScript.Shell") 'Set oExec = WshShell.exec("cmd /c title " & Replace(Replace(Text,vbCr,""),vbLf,"") & " && type con") Set oExec = WshShell.exec("cmd /c cmd /c findstr /R . < con") Prompt = oExec.stdout.ReadLine() oExec.terminate End Function msgbox LEN(Prompt("test dayo","")) でやると8190でるのでmsgboxの表示制限っぽいです 上限が512から8190まで増えました♪
|

|