Eric Auer schrieb:
Hi Michael,
I need a variable %bootdevice% (or w/e) pointing to the current
session's boot device (A:\ or C:\).
Nice :-)
Is there such a variable or can you tell me how to set
this variable automatic in batch?
I do not remember one, but it is extremely easy to do:
Christian Masloch schrieb:
On read-only media the 'set /e bootdevice=bootdev' will create an error
due to write protection. How this can be solved?
Did you set the TEMP or TMP environment variable to a directory on a
writable drive?
No, there is no writable device.
Well, I could
On read-only media the 'set /e bootdevice=bootdev' will create an error
due to write protection. How this can be solved?
Did you set the TEMP or TMP environment variable to a directory on a
writable drive?
No, there is no writable device.
Well, I could introduce a ramdisk but I don't
Well, I could introduce a ramdisk but I don't really like to.
You have to. SET /E uses a temporary file for the output of the command,
just as pipes do.
Yes; in a single-tasking environment, it is difficult to avoid using a
temporary file for pipes, but you could also write a utility to read
Hi!
I need a variable %bootdevice% (or w/e) pointing to the current
session's boot device (A:\ or C:\).
Is there such a variable or can you tell me how to set this variable
automatic in batch?
regards,
-mr
--
Create