Rich Pasco said:
Thanks, Dean. Many of the solutions in that thread, including yours,
require fsutil, which doesn't seem to be present on my Windows 2000
system. Can I download it as an add-on, or is it limited to XP and
newer?
Learn about fsutil here
http://technet2.microsoft.com/windowsserver/en/library/3dd141a8-57b8-4bd8-81dd-69c515fd059f1033.mspx
Considering that I need to support Windows 2000, I may just stick with
my original solution, which does work under Windows 2000.
- Rich
Nod, fair comment, I confess my efforts regarding legacy-supportability
typically end at XP and 2K3.
Here's another hip-shot -
@echo off
set arg=%~1
set driveLETTER=%arg:~0,1%
if exist %driveLETTER::=%:\nul (
echo %driveLETTER::=%: is valid)
else (
echo %driveLETTER::=%: is invalid.
)
--
Dean Wells [MVP / Directory Services]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l