Hello,
i'm trying to fasten up my installing proedures. I've setup up a PXE, everything is working fine with it, but i have a little problem. In my batch i use the dst=1 switch to define the target. Sadly its possible that there are switched cables or something else inside the PC, so there is a disk - that must not be overwritten - which goes prior my target HDD.
I'm not sure why, but my destination drive it not on first place now. Sometimes second, sometimes first, depending if there is also a USB-Stick or something...
Is there a way, to recognize the correct dst?
My target drive is 74GB big, other drives always bigger or smaller, never the same.
I thought of testing the drive with a size in the commandline, to test if i can make the partition exactly 74GB big. Then take the errorlevel and know if its possible or not, but i'm not sure if this is the correct idea... :/
Is there someone who can give me a hint?
Greetings
Max