Ok, I'm trying to find some way to test if a certain CD is in a drive (probably by looking for a special file) and then taking that drive letter and making it a variable. Then I want to take that variable and use it to create a command that calls a program from the CD.
From some poking around online, It would seem that something like this would work:
Dim drive
if filesys.FileExists("d:\test.txt") then
drive= "D"
else
drive= "E"
end if
It has been a LONG time since I have done ANY programming or scripting, so it's like I'm learning all over again.
I'm sure I'm either almost there or so far away that it's comical.
Regardless, I will be incredibly grateful to any help anyone can offer.
Thanx all
From some poking around online, It would seem that something like this would work:
Dim drive
if filesys.FileExists("d:\test.txt") then
drive= "D"
else
drive= "E"
end if
It has been a LONG time since I have done ANY programming or scripting, so it's like I'm learning all over again.
I'm sure I'm either almost there or so far away that it's comical.
Regardless, I will be incredibly grateful to any help anyone can offer.
Thanx all