tailieunhanh - sams teach Yourself windows Script Host in 21 Days phần 2
Thay vì khảo sát toàn bộ lĩnh vực, tôi nghĩ rằng khoảng thời gian này, tôi muốn cung cấp cho bạn một cảm giác về những gì nó muốn làm việc với một công cụ mô hình hóa: Tôi sẽ đưa bạn qua một số bước với một trong số họ, Microsoft Visio Professional Edition. Nếu bạn đang quen thuộc với Visio, đó là hữu ích. Nếu không, đó là OK, quá. | U-SimpoPDFMergeand Splitcunregisterect Versions-http file called you can see the results of running the script in Figure . Figure The results of running the script. Drive The Drive object represents a disk drive or network share. To use a Drive object you must reference it from an instance of the FileSystemObject. You can t instantiate it directly using CreateObject . This also holds true for the Drives Files File Folders Folder and Textstream objects. In the example for the Drive object you see how to get it from the FileSystemObject and then use it to output information about the C drive. Unlike the Dictionary and FileSystemObject the Drive object has no methods. You can however use some of its properties to change the characteristics of drives on your system specifically the Volume label . Drive Object Properties Table Drive Object Properties Property Name Description AvailableSpace This returns the amount of space that is available to a user on a local drive or on a network share. DriveLetter This returns the drive letter of a local drive or a network share. It might return if the drive is a network share that hasn t been mapped to a drive letter. DriveType This returns a string that indicates the type of a drive. Simpo PDF Merge and Split Unregistered Version - http FileSystem This returns a string that indicates the file system of a drive. The types that can be returned are FAT NTFS or CDFS. FreeSpace This returns the amount of free space that is available on a local drive or network share. This might be different from the amount of available space if the drive is on a system that supports disk quotas. IsReady This indicates whether the drive is ready. If you access a drive that represents a floppy disk and no disk is in the drive this returns false. Path This returns the path to the drive for example C . RootFolder This returns a Folder object that represents the root folder of a drive. .
đang nạp các trang xem trước