Link to home
Start Free TrialLog in
Avatar of Mario_castro
Mario_castro

asked on

environmet variable

hello experts.

i need crate a envrironmet varible that containt the cdrom drive lleter asigned(D: E:), this is because i make a auto instalaer program.

any ideas?

Mario
Avatar of JammyPak
JammyPak
Flag of Canada image

set CDROM=d:
Avatar of Mario_castro
Mario_castro

ASKER

If the cdrom use other letter??????
then use the other letter! (haha)

sorry, I think I misunderstood what you were trying to do - I thought you wanted to set a variable to a known value, not dynamically set it.
ASKER CERTIFIED SOLUTION
Avatar of 4auHuk
4auHuk
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial