I have a web site, I want to use vb to create a TXT file on the site, content is Text1 content, the content of the title is also Text1 Please give a complete source code
CodePudding user response:
no
CodePudding user response:
CodePudding user response:
Fyi:
ServerShare="\ \ 192.168.3.56 \ d $" The UserName="somedomain \ someuser" Password="somepassword"
The Set NetworkObject=CreateObject (" work "WScript.Net
The Set of FSO=CreateObject (" Scripting. FileSystemObject ") Set the Directory=FSO. GetFolder (ServerShare) For Each FileName In the Directory. The Files WScript. Echo FileName. The Name Next Set the FileName=Nothing Set the Directory=Nothing The Set of FSO=Nothing