Re: vbscript CSCRIPT howto : writie to screen and read from keyboard ?
"Mr. Man-wai Chang" <[email protected]> Sat, 13 Dec 2025 23:22:27 +0800
| Newsgroups | alt.comp.lang.vbscript,alt.comp.os.windows-xp,alt.windows7.general |
|---|---|
| Organization | https://sites.google.com/site/changmw/ |
| Message-ID | <[email protected]> |
On 29/11/2025 2:05 am, R.Wieser wrote: > Hello all, > > I know that I can use wscript.stdout.write(line) (or just wscript.echo) and > wscript.stdin.read(line) for that. > > The problem is that I need it to happen even when the script has its > standard input/output redirected (imagine a console-based "do you want to > continue (YN)" interaction) https://www.google.com/search?q=vbscript+OpenTextFile+CreateTextFile+console&sca_esv=b83ae5ae575c3e79&udm=50&source=hp&fbs=AIIjpHybaGNnaZw_4TckIDK59Rtx4FbWz8M1G9nQGNKSn1ac4eplqW_upKgxN2l6D4QtN8nMq83_y28aH73WFhcB8ED-EQVIrcxdVLKF12WOBRNS3T2rXvCQn5CIC0IceZnzGPR-HuU9uLEupq2IsLXhy1orqtkGotN0CtVdcFp6LigbpohDSHOKflngAEj2ia_1UUt_2Q8W&aep=1&ntc=1&sa=X&ved=2ahUKEwjGy--A77qRAxWAhq8BHWagGHcQ2J8OegQIDxAE&biw=1223&bih=636&dpr=2&mstk=AUtExfD_Cf7tguK-g_QKoUNV_7zM3kyBQIbMh4mxuoweXDANNBiwfJdkSy9STQht1nxm8a9TH1RPia0UNu75BqfayD9CqD26DlS3GFP81tzzI1wtxVpRRE9otH1zrsGw4PIVgmGaSt7HOqsYFmkc_KcnSQVW4D5NxZYuW2Q&csuir=1 -- @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch! / v \ May the Force and farces be with you! Live long and prosper!! /( _ )\ https://sites.google.com/site/changmw/ ^ ^ https://github.com/changmw/changmw