Took a quick look at Microsoft and there does appear to be pre-built Vbscripts that might get you there.. http://msdn2.microsoft.com/en-us/library/aa394592(VS.85).aspx
Once you find the cscript to run, then you could do something like what I use for creating Virtual Directories on the fly <cfx_Execute name="c:\winnt\system32\cscript.exe" arguments="//B c:\winnt\system32\iisvdir.vbs /create ""#header1#"" flex C:\inetpub\wwwroot "> Again, this is just a quick look. I'm sure there may be easier ways to do it. Don -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Kerr, Donald (JSC-DA8)[BAS] Sent: Tuesday, January 08, 2008 11:26 AM To: [email protected] Subject: [houcfug] Re: Find list of drive letters? Well, I use <cfexecute> to interact with Windows scripts/command line to change things in IIS, etc. I'm sure there has to be a command/scripts to list drive letters. You can search Microsoft to find the command line to run, then use cfexecute to run it. Can't look it up now. Don -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Angeli Wahlstedt Sent: Tuesday, January 08, 2008 11:11 AM To: [email protected] Subject: [houcfug] Find list of drive letters? Hiya, folks -- is there a way to find a list of drive letters via CFMX on a server running Windows, the way the tag CFDirectory finds a list of files? I don't care about mapped drives -- I'm just curious about local drives. Thanks, -- Angeli Wahlstedt, IdeaSculpt LLC --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [EMAIL PROTECTED] For more options, visit http://groups.google.com/group/houcfug?hl=en -~----------~----~----~----~------~----~------~--~---
