premise: my nickname is not random, i'm doing this in my spare time and i have no real background in programming other than my spare time (my career is in the medical field). i may know what a command or a program does, but more often than not i just ignore how it's done. however, i watch and learn: i just might need some (a lot) more documentation.
what i want to do: i have these two ISOs on the tftp server (shared with samba and mounted with "net use"), one is win7 32 bit and the other is windows XP. two problems have arisen.
1) i still cannot find a working way to mount the aforementioned isos by command line (so it can be mounted by a simple cmd/bat file). i tried with filedisk17 and messed up PE's registry before learning not to put my hands on HKLM\System\CurrentControlSet, but even after that it still did not work. i also tried imdisk by adding it with the "dism" command (from windows AIK), to no avail, as once booted the imdisk command was not there. is there another, tested way?
2) about the choice between XP and 7 (admitting i could install XP from PE3). one could put that choice once PE has booted, by means of a simple choice command. however i have a severe problem of stubbornness and as such i want to shift the choice to the pxelinux boot menu, benefiting from the "ubcdcmd=" command line parameter, which (theoretically) could be passed to memdisk to be read by means of an interrupt 13h (see here under "additional information"). recompiling the 16-bit tools to do that was fine, however i learned soon afterwards that windows 7 does not quite like interrupts, at least not the 13h. question is if there was a way to trigger interrupt 13h, even indirectly, so that memdisk would hand me its command line.
3) very trivial but still: what's the difference between *.cmd and *.bat? i was left behind to old dos 6 batches.
thanks for everything. if this is the wrong section, please move it and forgive me.
Edited by spacemonkey, 20 April 2012 - 05:57 PM.