Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to save a WRITTEN text in notepad using vbs

Status
Not open for further replies.

ash777star

Technical User
Jul 14, 2019
2
0
0
IN
hello there,
i had a query that how can i save a written text using vbs.
i am using the following code but it doesnt seem to work-
Set obj = createobject(“Scripting.FileSystemObject”)
src=”C:\Users\name\inputnameshouldbehere.java”
obj CreateTextFile src
Set obj=Nothing

also i have used a inputbox to enter a word, so how can i use the string in the variable in the position (marked as bold in the code)
thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top