The FSO object completes the processing of the hard disk file

xiaoxiao2021-03-06  14

Whichfile = server.mappath ("Abandonship.txt") 'Get file name set fso = createObject ("scripting.filesystemObject")' Define FSO object set f1 = fso.createtextfile (Whichfile, true) f1.write ("this is a Test.my name is abandonship. ") F1.close set f2 = fso.dfile (Whichfile) F2.move" f: / asp / testdel / "set f3 = fso.getfile (" f: / asp / testdel / abandonship. " TXT ") f3.delete

转载请注明原文地址:https://www.9cbs.com/read-67645.html

New Post(0)