Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disk Volume Label
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144624
Message ID:
00144823
Views:
16
>How can I get the default disk volume label or number?

If all you need is the volume label:
DECLARE aVolLabel[1,5]
=ADIR(aVolLabel,'C:\*.*','V')  && use the drive letter you want
wait window 'Volume label is '+aVolLabel[1]
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform