ÄÄÇ»ÅÍ µå¶óÀ̺꿡 °üÇÏ¿© ´Ù¾çÇÑ À¯ÇüÀÇ Á¤º¸¸¦ ¿¶÷ÇÕ´Ï´Ù.
DriveGet, OutputVar, Cmd [, Value]
CmdÀÇ °á°ú¸¦ ÀúÀåÇÒº¯¼öÀÇ À̸§.
Cmd¿Í Value ¸Å°³º¯¼ö´Â ¼·Î ÀÇÁ¸ÀûÀÔ´Ï´Ù. ±×ÀÇ »ç¿ë¹ýÀº ¾Æ·¡¿¡ ±â¼úÇÕ´Ï´Ù. ¹®Á¦¸¦ ¸¸³ª¸é OutputVar°¡ ºñ¿öÁö°í ErrorLevel¿¡ 1ÀÌ ¼³Á¤µË´Ï´Ù.
List [, Type]: OutputVar¿¡ ±âÈ£·Î ±¸¼ºµÈ ¹®ÀÚ¿À» ¼³Á¤ÇÕ´Ï´Ù. °¢ ±âÈ£ Çϳª°¡ ½Ã½ºÅÛ¿¡ ÀÖ´Â µå¶óÀ̺긦 ³ªÅ¸³À´Ï´Ù. ¿¹¸¦ µé¾î: ACDEZ. ¸¸¾à TypeÀÌ »ý·«µÇ¸é, ¸ðµç µå¶óÀ̺ê À¯ÇüÀÌ ¿¶÷µË´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é, TypeÀÌ ¹Ýµå½Ã ´ÙÀ½ Áß Çϳª¸¦ ÁöÁ¤ÇØ¾ß ¿ÀÁ÷ ±× ƯÁ¤ÇÑ µå¶óÀ̺길 ¿¶÷ÇÒ ¼ö ÀÖ½À´Ï´Ù: CDROM, REMOVABLE, FIXED, NETWORK, RAMDISK, UNKNOWN.
Capacity (¶Ç´Â Cap), Path: Path (¿¹, C:\)ÀÇ ÃÑ ¿ë·®À» ¸Þ°¡¹ÙÀÌÆ® ´ÜÀ§·Î ¿¶÷ÇÕ´Ï´Ù. ºó °ø°£À» ¾Ë¾Æ³»·Á¸é DriveSpaceFree¸¦ »ç¿ëÇϽʽÿÀ.
Filesystem (¶Ç´Â FS), Drive: DriveÀÇ ÆÄÀÏ ½Ã½ºÅÛ À¯ÇüÀ» ¿¶÷ÇÕ´Ï´Ù. Drive´Â µå¶óÀÌºê ±âÈ£¿Í ´ÙÀ½¿¡ ½ÖÁ¡ ±×¸®°í ¼±ÅÃÀûÀ¸·Î ¿ª»ç¼±À¸·Î ±¸¼ºµÇ°Å³ª, ¶Ç´Â \\server1\share1°ú °°Àº UNC À̸§ÀÔ´Ï´Ù. OutputVar´Â ´ÙÀ½ ´Ü¾î Áß Çϳª°¡ ¼³Á¤µË´Ï´Ù: FAT, FAT32, NTFS, CDFS (ÀüÇüÀûÀ¸·Î CD¸¦ °¡¸®Å´), UDF (ÀüÇüÀûÀ¸·Î DVD¸¦ °¡¸®Å´). µå¶óÀ̺꿡 Æ÷¸ËµÈ ¹Ìµð¾î°¡ µé¾î ÀÖÁö ¾ÊÀ¸¸é OutputVar´Â ºñ¿öÁö°í ErrorLevelÀº 1ÀÌ ¼³Á¤µË´Ï´Ù.
Label, Drive: DriveÀÇ º¼·ý ¶óº§À» ¿¶÷ÇÕ´Ï´Ù. Drive´Â µå¶óÀÌºê ±âÈ£¿Í ´ÙÀ½¿¡ ½ÖÁ¡ ±×¸®°í ¼±ÅÃÀûÀ¸·Î ¿ª»ç¼±À¸·Î ±¸¼ºµÇ°Å³ª, ¶Ç´Â \\server1\share1°ú °°Àº UNC À̸§ÀÔ´Ï´Ù. ¶óº§À» º¯°æÇÏ·Á¸é, ´ÙÀ½ ¿¹Á¦¸¦ µû¸£½Ê½Ã¿À: Drive, Label, C:, MyLabel
.
Serial, Drive: ½ÊÁø Á¤¼ö·Î Ç¥ÇöµÈ DriveÀÇ ÀÏ·Ã ¹øÈ£¸¦ ¿¶÷ÇÕ´Ï´Ù. Drive´Â µå¶óÀÌºê ±âÈ£¿Í ´ÙÀ½¿¡ ½ÖÁ¡ ±×¸®°í ¼±ÅÃÀûÀ¸·Î ¿ª»ç¼±À¸·Î ±¸¼ºµÇ°Å³ª, ¶Ç´Â \\server1\share1°ú °°Àº UNC À̸§ÀÔ´Ï´Ù. ½ÊÀ°Áø¼ö·Î ¹Ù²Ù´Â ¹æ¹ýÀº SetFormatÀ» ÂüÁ¶ÇϽʽÿÀ.
Type, Path: PathÀÇ µå¶óÀ̺ê À¯ÇüÀ» ¿¶÷ÇÕ´Ï´Ù. ´ÙÀ½ ´Ü¾î Áß ÇϳªÀÔ´Ï´Ù: Unknown, Removable, Fixed, Network, CDROM, RAMDisk.
Status, Path: PathÀÇ »óŸ¦ ¿¶÷ÇÕ´Ï´Ù. ´ÙÀ½ ´Ü¾î Áß ÇϳªÀÔ´Ï´Ù: Unknown (unformatted/RAW¸¦ °¡¸®Å³ ¼öµµ ÀÖÀ½), Ready, NotReady (ÀüÇüÀûÀ¸·Î À̵¿½Ä µå¶óÀ̺꿡 ¹Ìµð¾î°¡ ¾ø´Â °æ¿ì), Invalid (Path°¡ Á¸ÀçÇÏÁö ¾Ê°Å³ª ÇöÀç Á¢±ÙÇÒ ¼ö ¾ø´Â ³×Æ®¿öÅ© µå¶óÀ̺êÀ̰ųª, µîµî.)
StatusCD [, Drive]: CD ¶Ç´Â DVD µå¶óÀ̺êÀÇ »óŸ¦ ¿¶÷ÇÕ´Ï´Ù. Drive´Â µå¶óÀÌºê ±âÈ£¿Í ½ÖÁ¡À¸·Î ±¸¼ºµË´Ï´Ù (Drive¸¦ »ý·«Çϸé, ±âº» CD/DVD µå¶óÀ̺갡 »ç¿ëµË´Ï´Ù). »óŸ¦ ¾Ë¾Æ³¾ ¼ö ¾øÀ¸¸é OutputVar´Â ºñ¿öÁý´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é ´ÙÀ½ ¹®ÀÚ¿ Áß Çϳª°¡ ¼³Á¤µË´Ï´Ù:
not ready | µå¶óÀ̺꿡 Á¢±ÙÇÒ Áغñ°¡ µÇÁö ¾Ê¾Ò½À´Ï´Ù. ¾Æ¸¶µµ ¾²±â ÀÛ¾÷ ÁßÀÏ ¼ö ÀÖ½À´Ï´Ù. ¾Ë·ÁÁø ÇÑ°è: "not ready"´Â ¶ÇÇÑ µå¶óÀ̺꿡 CD°¡ ¾Æ´Ï¶ó DVD°¡ µé¾î ÀÖ´Â °æ¿ì¿¡µµ ÀϾ´Ï´Ù. |
open | µå¶óÀ̺꿡 µð½ºÅ©°¡ ¾ø°Å³ª, Æ®·¹ÀÌ°¡ »çÃâµÇ¾î ÀÖ½À´Ï´Ù. |
playing | µå¶óÀ̺갡 µð½ºÅ©¸¦ ¿¬ÁÖ ÁßÀÔ´Ï´Ù. |
paused | ÀÌÀü¿¡ ¿¬ÁÖ ÁßÀÌ´ø ¿Àµð¿À ¶Ç´Â ºñµð¿À°¡ ÇöÀç Á¤ÁöµÇ¾î ÀÖ½À´Ï´Ù. |
seeking | µå¶óÀ̺긦 Ž»ö ÁßÀÔ´Ï´Ù. |
stopped | µå¶óÀ̺꿡 CD°¡ µé¾î ÀÖÁö¸¸ ÇöÀç Á¢±ÙÇÏÁö ¸øÇÕ´Ï´Ù. |
ÀÌ ¸í·É¾î´Â ¾Æ¸¶µµ ³×Æ®¿öÅ© µå¶óÀ̺곪 ºñ-CD/DVD µå¶óÀ̺꿡¼´Â ÀÛµ¿ÇÏÁö ¾ÊÀ» °ÍÀÔ´Ï´Ù; ±×·± °æ¿ì ¶Ç´Â ´Ù¸¥ ¾î¶² ÀÌÀ¯·Î ½ÇÆÐÇϸé, OutputVar´Â ºñ¿öÁö°í ErrorLevelÀº 1ÀÌ ¼³Á¤µË´Ï´Ù.
Æ®·¹ÀÌ°¡ ÃÖ±Ù¿¡ ´ÝÇû´Ù¸é, ¸í·É¾î°¡ ¿Ï·áÇÏ·Á¸é Á» ½Ã°£ÀÌ °É¸± ¼ö ÀÖ½À´Ï´Ù.
Æ®·¹À̸¦ »©°Å³ª ³ÖÀ¸·Á¸é, Drive ¸í·É¾î¸¦ ÂüÁ¶ÇϽʽÿÀ.
[v1.1.04+] ÀÌ ¸í·É¾î´Â ½ÇÆнà ¿¹¿Ü¸¦ ´øÁú ¼ö ÀÖ½À´Ï´Ù. ´õ ÀÚ¼¼ÇÑ Á¤º¸´Â ½ÇÇà½Ã°£ ¿¡·¯¸¦ ÂüÁ¶ÇϽʽÿÀ.
¹®Á¦°¡ ÀÖ¾úÀ¸¸é ErrorLevel¿¡ 1ÀÌ ¼³Á¤µÇ°í ±×·¸Áö ¾ÊÀ¸¸é 0ÀÌ ¼³Á¤µË´Ï´Ù.
¾î¶² ¸í·É¾î´Â ³×Æ®¿öÅ© °øÀ¯ À̸§À» °æ·Î(Path)·Î ¹Þ½À´Ï´Ù. ¿¹, \\MyServer\MyShare\
; ´ÙÀ½Àº ÀÛµ¿ÇÏ´Â ½ºÅ©¸³Æ®ÀÔ´Ï´Ù. FileSelectFolder, folder, , 3, ºÐ¼®ÇÒ µå¶óÀ̺긦 °í¸£½Ê½Ã¿À: if folder = return DriveGet, list, list DriveGet, cap, capacity, %folder% DrivespaceFree, free, %folder% DriveGet, fs, fs, %folder% DriveGet, label, label, %folder% DriveGet, serial, serial, %folder% DriveGet, type, type, %folder% DriveGet, status, status, %folder% MsgBox All Drives: %list%`nSelected Drive: %folder%`nDrive Type: %type%`nStatus: %status%`nCapacity: %cap% M`nFree Space: %free% M`nFilesystem: %fs%`nVolume Label: %label%`nSerial Number: %serial%