تماشای ویدئو VBScript Basics Part 27 Get File Folder Properties از آی-ویدئو

VBScripting (.vbs) Basic tutorial on how to get a file or folder to find out certain properties about it, such as its name, size, type, location, date, etc... Code Example: ______________________________________________________ Option Explicit Dim objFso, file, data Set objFso = CreateObject("Scripting.FileSystemObject") Set file = objFso.GetFile("C:\Users\Jeremy\Desktop\myfile.txt") data = "Attributes: " file.Attributes vbLf data = data "DateCreated: " file.DateCreated vbLf data = data
6 دی 1396
آی-ویدئو