{"id":5384,"date":"2016-05-08T08:56:45","date_gmt":"2016-05-07T23:56:45","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=5384"},"modified":"2016-05-08T09:00:10","modified_gmt":"2016-05-08T00:00:10","slug":"fsodriveobject","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/fsodriveobject\/","title":{"rendered":"FileSystemObject\uff1aDrive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e3b\u306a\u30d7\u30ed\u30d1\u30c6\u30a3"},"content":{"rendered":"<h2>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u53d6\u5f97<\/h2>\n<div class=\"m30-l\">\n<p><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong> \u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001<strong>FSO \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u306e <strong>GetDrive \u30e1\u30bd\u30c3\u30c9<\/strong> \u3084 <strong>Drives \u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/strong> \u306e <strong>Item \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\n  <\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u53d6\u5f97\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>GetDrive<\/strong> ( <em>drivespec<\/em> )<\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u53d6\u5f97\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>Drives<\/strong> [ .<strong>Item<\/strong> ] ( <em>key<\/em> )<\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>FileSystemObject \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>drivespec \/ key&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c9\u30e9\u30a4\u30d6\u540d\u3092\u8868\u3059\u6587\u5b57\u5217\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u8a73\u7d30\u306f\u3001<a href=\"https:\/\/excelwork.info\/excel\/fsogetdrive\/\">\u30c9\u30e9\u30a4\u30d6\u3092\u53d6\u5f97\u3059\u308b\uff08GetDrive \u30e1\u30bd\u30c3\u30c9\uff09<\/a>\u3001<a href=\"https:\/\/excelwork.info\/excel\/fsodrives\/\">\u30c9\u30e9\u30a4\u30d6\u3092\u53d6\u5f97\u3059\u308b\uff08Drives \u30d7\u30ed\u30d1\u30c6\u30a3\uff09<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e3b\u306a\u30d7\u30ed\u30d1\u30c6\u30a3<\/h2>\n<div class=\"m30-l\">\n<br \/>\n<h3>AvailableSpace \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u4f7f\u7528\u53ef\u80fd\u306a\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>AvailableSpace<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u4f7f\u7528\u53ef\u80fd\u306a\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\uff08\u30c9\u30e9\u30a4\u30d6\u306e\u7a7a\u304d\u5bb9\u91cf\uff09\u30d0\u30a4\u30c8\u5358\u4f4d\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u901a\u5e38\u3001<strong>FreeSpace \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong> \u304c\u8fd4\u3059\u5024\u3068\u540c\u3058\u3067\u3059\uff08\u305f\u3060\u3057\u3001OS \u304c\u3001\u30c7\u30a3\u30b9\u30af\u30af\u30a9\u30fc\u30bf\u6a5f\u80fd\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u9055\u3046\u5024\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\uff09\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<h3>DriveLetter \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30c9\u30e9\u30a4\u30d6\u540d\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>DriveLetter<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c9\u30e9\u30a4\u30d6\u540d\u3092\u3042\u3089\u308f\u3059\u6587\u5b57\uff08C \u3084 D \u306a\u3069\uff09\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>DriveType \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30c9\u30e9\u30a4\u30d6\u306e\u7a2e\u985e\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>DriveType<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c9\u30e9\u30a4\u30d6\u306e\u7a2e\u985e\u3092\u8868\u3059 <strong>DriveTypeConst \u5217\u6319\u578b<\/strong> \u306e\u5024<\/li>\n<table>\n<tr>\n<td align = \"center\" width=\"250\" bgcolor=\"#ffffccc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"80\" bgcolor=\"#ffffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"320\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"250\">UnknownType<\/td>\n<td width=\"80\" align = \"center\">0<\/td>\n<td width=\"320\">\u4e0d\u660e<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">Removable<\/td>\n<td width=\"80\" align = \"center\">1<\/td>\n<td width=\"320\">\u30ea\u30e0\u30fc\u30d0\u30d6\u30eb\u30c7\u30a3\u30b9\u30af<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">Fixed<\/td>\n<td width=\"80\" align = \"center\">2<\/td>\n<td width=\"320\">\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">Remote<\/td>\n<td width=\"80\" align = \"center\">3<\/td>\n<td width=\"320\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d6<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">CDRom<\/td>\n<td width=\"80\" align = \"center\">4<\/td>\n<td width=\"320\">CD-ROM \u30c9\u30e9\u30a4\u30d6<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">RamDisk<\/td>\n<td width=\"80\" align = \"center\">5<\/td>\n<td width=\"320\">RAM \u30c7\u30a3\u30b9\u30af<\/td>\n<\/tr>\n<\/table>\n<p>\n    <\/li>\n<\/ul><\/div>\n<br \/>\n<h3>FileSystem \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u7a2e\u985e\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>FileSystem<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u7a2e\u985e\u3092\u3042\u3089\u308f\u3059\u6587\u5b57\u5217\uff08FAT\u3001NTFS\u3001CDFS \u306a\u3069\uff09\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>FreeSpace \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u4f7f\u7528\u53ef\u80fd\u306a\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>FreeSpace<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u4f7f\u7528\u53ef\u80fd\u306a\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\uff08\u30c9\u30e9\u30a4\u30d6\u306e\u7a7a\u304d\u5bb9\u91cf\uff09\u30d0\u30a4\u30c8\u5358\u4f4d\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u901a\u5e38\u3001<strong>AvailableSpace \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong> \u304c\u8fd4\u3059\u5024\u3068\u540c\u3058\u3067\u3059\uff08\u305f\u3060\u3057\u3001OS \u304c\u3001\u30c7\u30a3\u30b9\u30af\u30af\u30a9\u30fc\u30bf\u6a5f\u80fd\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u9055\u3046\u5024\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\uff09\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<h3>IsReady \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30c9\u30e9\u30a4\u30d6\u306e\u6e96\u5099\u304c\u3067\u304d\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002CD-ROM \u3084 DVD \u30c7\u30a3\u30b9\u30af\u306a\u3069\u306e\u5834\u5408\u306f\u3001\u30e1\u30c7\u30a3\u30a2\u304c\u633f\u5165\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>IsReady<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c9\u30e9\u30a4\u30d6\u306e\u6e96\u5099\u304c\u3067\u304d\u3066\u3044\u308b\u5834\u5408\u306f\u3001<strong>True<\/strong> \u3001\u3067\u304d\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001<strong>False<\/strong>\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>Path \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30c9\u30e9\u30a4\u30d6\u306e\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Path<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c9\u30e9\u30a4\u30d6\u306e\u30d1\u30b9\u3092\u3042\u3089\u308f\u3059\u6587\u5b57\u5217\uff08C: \u306a\u3069\uff09<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>RootFolder \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30c9\u30e9\u30a4\u30d6\u306e\u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>RootFolder<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c9\u30e9\u30a4\u30d6\u306e\u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0\u3092\u3042\u3089\u308f\u3059\u6587\u5b57\u5217\uff08C:\\ \u306a\u3069\uff09<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>ShareName \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30c9\u30e9\u30a4\u30d6\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5171\u6709\u540d\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>ShareName<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c9\u30e9\u30a4\u30d6\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5171\u6709\u540d\u3002\u6307\u5b9a\u3057\u305f\u30c9\u30e9\u30a4\u30d6\u304c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d6\u3067\u306a\u3044\u5834\u5408\u306f\u3001\u9577\u3055 0 \u306e\u6587\u5b57\u5217\uff08&#8221;&#8221;\uff09\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>SerialNumber \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30c7\u30a3\u30b9\u30af\u306e\u30b7\u30ea\u30a2\u30eb\u756a\u53f7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>SerialNumber<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c7\u30a3\u30b9\u30af\u306e\u30b7\u30ea\u30a2\u30eb\u756a\u53f7\u3002CD-ROM\u30c9\u30e9\u30a4\u30d6\u306a\u3069\u3067\u306f\u3001\u633f\u5165\u3055\u308c\u3066\u3044\u308b\u30e1\u30c7\u30a3\u30a2\u306e\u30b7\u30ea\u30a2\u30eb\u30ca\u30f3\u30d0\u30fc\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>TotalSize \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u6307\u5b9a\u3057\u305f\u30c9\u30e9\u30a4\u30d6\u306e\u7dcf\u5bb9\u91cf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>TotalSize<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c9\u30e9\u30a4\u30d6\u306e\u7dcf\u5bb9\u91cf\u3002\u30d0\u30a4\u30c8\u5358\u4f4d\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>VolumeName \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<p>\u30c9\u30e9\u30a4\u30d6\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u540d\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>VolumeName<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<span class=\"red\"><strong>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024 \/ \u8a2d\u5b9a\u5024&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c9\u30e9\u30a4\u30d6\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u540d\u3092\u3042\u3089\u308f\u3059\u6587\u5b57\u5217\u3002<\/li>\n<\/ul><\/div>\n<\/div>\n<br \/><br \/>\n<h2>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3 \u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample01_Drive()\r\n\r\n    Dim fso As New FileSystemObject\r\n    Dim myDrive As Drive\r\n    \r\n    Set myDrive = fso.Drives(\"C:\")\r\n    \r\n    MsgBox \"\u30c9\u30e9\u30a4\u30d6\u540d\uff1a\" & myDrive.DriveLetter & vbCrLf & _\r\n           \"\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\uff1a\" & myDrive.FileSystem & vbCrLf & _\r\n           \"\u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0\uff1a\" & myDrive.RootFolder & vbCrLf & _\r\n           \"\u30c9\u30e9\u30a4\u30d6\u306e\u30d1\u30b9\uff1a\" & myDrive.Path\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/05\/fso_drive01.jpg?ssl=1\" rel=\"lightbox[5384]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/05\/fso_drive01.jpg?resize=182%2C200&#038;ssl=1\" alt=\"FSO Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\" width=\"182\" height=\"200\" class=\"alignnone size-full wp-image-5385\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u53d6\u5f97 Drive \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001FSO &#8230; <\/p>\n","protected":false},"author":1,"featured_media":5385,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[836],"tags":[860,721,859,861,693,862,722,863,864,834,682,865,866,867,868,63,869,38],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/05\/fso_drive01.jpg?fit=182%2C200&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-1oQ","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5384"}],"collection":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/comments?post=5384"}],"version-history":[{"count":6,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5384\/revisions"}],"predecessor-version":[{"id":5440,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5384\/revisions\/5440"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/5385"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=5384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=5384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=5384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}