If c:\mdac exists run this condition

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • msmith
    Forum Member
    • Mar 2003
    • 5

    If c:\mdac exists run this condition

    Hello,

    I would like to find a way that I can check to see if a drive and directory exists,
    if so run this command. If it does not run this command.

    Because I would like to delete a directory if it is on the users system drive c.

    So

    In human text

    If c:=mdac or not

    Run this command

    If d:=mdac or not

    Run this command

    Because if I try and run a command that looks for drive d: and it is not partitioned, then I will receive an error message. So I would like to see if I can get ams, to tell if a drive letter D: or C: exists.
Working...
X