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 and
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:
Run the bootdev.txt
Works good, Thanks!
-mr
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 remem
[...]
> Now you can use the following command:
>
> X:\>set /e bootdevice=bootdev
>
> Bootdev.com simply prints a string like "C:",CR,LF
> which is then stored in a variable, as you can see:
>
> X:\>echo %bootdevice%
> C:
>
> FreeCOM and CMD support SET /E, not sure about
> other / older command.com
>> FreeCOM and CMD support SET /E, not sure about
>> other / older command.com variants here.
>>
>
> Heh, I'd forgotten about "/E" - nice trick.
>
>
> At least in XP, SET does not support /E, though.
Yeah, I'm pretty sure I came up with /E myself :-).
-
Is there a port of dd for DOS?
regards,
-mr
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive,
On Tue, Feb 3, 2009 at 3:41 PM, Michael Reichenbach
wrote:
> Is there a port of dd for DOS?
>
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/gnuish/gnufut21.zip
GNU file utils, with "dd.exe". Source included.
-jh
-
Thank you!
Is there also some documentation about the DOS part available?
What is the equivalent for /dev/mem or /dev/hda under DOS?
Jim Hall schrieb:
> On Tue, Feb 3, 2009 at 3:41 PM, Michael Reichenbach
> wrote:
>> Is there a port of dd for DOS?
>>
>
> http://www.ibiblio.org/pub/micro/pc-stu
Well, guess there isn't a port of linux block devices for DOS? :)
Alain M. schrieb:
> Would you tell as what you intend to do? we could help you more that way :)
Yes, sure. I want to use the dd command, just from what I know from
Linux. ;) *joke*
To be more concrete:
- I would like to read the
Would you tell as what you intend to do? we could help you more that way :)
Michael Reichenbach escreveu:
> What is the equivalent for /dev/mem
the concept is not 1:1 as in DOS you have no protected memory, memoy
acces is done via any pointer...
> or /dev/hda under DOS?
Disk is C:, but that is
Hi!
> Is there also some documentation about the DOS part available?
You mean DOS port.
> What is the equivalent for /dev/mem or /dev/hda under DOS?
Not available. Linux users love "dd" because they use it
with all the /dev/something device driver files of their
big kernel, but in DOS, dd cann
Hi!
> - I would like to read the whole RAM (mainly only 32 bit - 2 GB, but 4
> GB or even more in 64 bit are also interesting) and write it into a raw
> image (also called sometimes flat or .img).
The BIOS int 15.87 lets you access the first 4 GB, if you
want to access more than that, you have t
Eric Auer schrieb:
> Hi!
>
>> - I would like to read the whole RAM (mainly only 32 bit - 2 GB, but 4
>> GB or even more in 64 bit are also interesting) and write it into a raw
>> image (also called sometimes flat or .img).
>
> The BIOS int 15.87 lets you access the first 4 GB, if you
> want to ac
Hi,
>>> 4 GB or even more in 64 bit are also interesting
>> The BIOS int 15.87 lets you access the first 4 GB, if you
>> want to access more than that, you have to do fancy stuff
> I think basically I would need to switch the CPU
> into long mode.
No you would not. See below.
> Is long mode su
Eric Auer schrieb:
> Hi,
>
4 GB or even more in 64 bit are also interesting
>>> The BIOS int 15.87 lets you access the first 4 GB, if you
>>> want to access more than that, you have to do fancy stuff
>
>> I think basically I would need to switch the CPU
>> into long mode.
>
> No you would n
While we're talking about memory and 386 extenders and the like, I'd
like to ask a question that has bugged me for years.
In creating a multi-tasking dos,, why doesn't someone just create a
version of dos which spawns a whole new virtual 386 machine for each
application that is launched at th
16 matches
Mail list logo