ash777star
Technical User
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.
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.