How to create text file and write to it in vbscript

后端 未结 3 1495
长发绾君心
长发绾君心 2020-12-02 02:40

I have the following script which locates all access files on a machine:

strComputer = \".\"

Set objWMIService = GetObject(\"winmgmts:\\\\\" & strComput         


        
3条回答
  •  被撕碎了的回忆
    2020-12-02 02:56

    Use the FileSystemObject's .CreateTextFile method to create a text file. Study the documentation/sample carefully.

    A CIM_DataFile has a .LastAccess property.

提交回复
热议问题