Home Uncategorized let’s ask the user and print the answer (etc)

let’s ask the user and print the answer (etc)

0
let’s ask the user and print the answer (etc)
let's ask the user and print the answer (etc)

This code below is an example of printing the answer to a question asked to the user in a .txt file, it will help those interested in .vbs scripts to understand the working logic
. Paste the code into a notepad and click File – Save As… Save and run as ..

It will create a txt file named a.txt next to your script.

CreateObject(“Scripting.FileSystemObject”).CreateTextFile(“a.txt” , True).WriteLine InputBox (“Please enter your Username:”,”Input”,”Username”)

Velociraptor

LEAVE A REPLY

Please enter your comment!
Please enter your name here