Executing a Linux Command from Inside DOS?

View: New views
8 Messages — Rating Filter:   Alert me  

Executing a Linux Command from Inside DOS?

by Robert J. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there a way that I can execute a Linux command from inside DOS? For
example, "RUNLINUXCOMMAND" [lpr ~/Dosprog/roses.jpg], where
"RUNLINUXCOMMAND" would be the dos command required. Thanks in advance,
Bob T.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Executing a Linux Command from Inside DOS?

by Chris Schumann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 14, 2009 at 11:40 AM, Robert J. Thompson
<the_drbobo@...> wrote:
> Is there a way that I can execute a Linux command from inside DOS? For
> example, "RUNLINUXCOMMAND" [lpr ~/Dosprog/roses.jpg], where
> "RUNLINUXCOMMAND" would be the dos command required. Thanks in advance,
> Bob T.

Hey Bob,
Don't you need, you know, Linux, to run a Linux command?

Chris

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Executing a Linux Command from Inside DOS?

by Robert J. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Schumann wrote:
On Wed, Oct 14, 2009 at 11:40 AM, Robert J. Thompson
the_drbobo@... wrote:
  
Is there a way that I can execute a Linux command from inside DOS? For
example, "RUNLINUXCOMMAND" [lpr ~/Dosprog/roses.jpg], where
"RUNLINUXCOMMAND" would be the dos command required. Thanks in advance,
Bob T.
    

Hey Bob,
Don't you need, you know, Linux, to run a Linux command?

Chris

  
Chris: Guess I didn't include enough details of the question. I run Ubuntu 8.04 and then Dosemu 1.4.0.0. My printer, a HP Officejet K80xi works fine in linux for both text and graphical files (I just enter lpr filename and either file prints fine with no further input on my part). After I enter FreeDos, I can only print text files. If I could enter some magical command from within dos that executed any linux command, the problem would be solved. Soooo, my question is "Does such a command exist?".
Bob T.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Executing a Linux Command from Inside DOS?

by Blair Campbell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Chris: Guess I didn't include enough details of the question. I run Ubuntu
> 8.04 and then Dosemu 1.4.0.0. My printer, a HP Officejet K80xi works fine in
> linux for both text and graphical files (I just enter lpr filename and
> either file prints fine with no further input on my part). After I enter
> FreeDos, I can only print text files. If I could enter some magical command
> from within dos that executed any linux command, the problem would be
> solved. Soooo, my question is "Does such a command exist?".

AFAIR, Dosemu includes a utility that can execute unix commands from
within dosemu.  You should check the dosemu documentation.

> Bob T.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@...
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Executing a Linux Command from Inside DOS?

by Marco Antonio Achury Palma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That you need is a command to print a graphic file.  I remember a lot
of commercial dos software,
but by sure exist any free option ...



2009/10/15 Blair Campbell <blairdude@...>:

>> Chris: Guess I didn't include enough details of the question. I run Ubuntu
>> 8.04 and then Dosemu 1.4.0.0. My printer, a HP Officejet K80xi works fine in
>> linux for both text and graphical files (I just enter lpr filename and
>> either file prints fine with no further input on my part). After I enter
>> FreeDos, I can only print text files. If I could enter some magical command
>> from within dos that executed any linux command, the problem would be
>> solved. Soooo, my question is "Does such a command exist?".
>
> AFAIR, Dosemu includes a utility that can execute unix commands from
> within dosemu.  You should check the dosemu documentation.
>> Bob T.
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Freedos-user mailing list
>> Freedos-user@...
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>>
>>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@...
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>



--
--
+-+-+-+-+-+-+-+
Marco A. Achury
Tel: +58-(212)-6158777
Cel: +58-(414)-3142282
Fax: +58-(212)-2410828
Skype: marcoachury
www.geocities.com/marcoachury

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Executing a Linux Command from Inside DOS?

by Marco Antonio Achury Palma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/16 Marco Antonio Achury Palma <marcoachury@...>:
> That you need is a command to print a graphic file.  I remember a lot
> of commercial dos software,
> but by sure exist any free option ...
>
>


Was not an utility graphics.com on msdos?  Includes freedos an equivalent?

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Executing a Linux Command from Inside DOS?

by Marco Antonio Achury Palma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

See:

http://support.microsoft.com/kb/78123/en-us/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: Executing a Linux Command from Inside DOS?

by Robert J. Thompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Blair Campbell wrote:
Chris: Guess I didn't include enough details of the question. I run Ubuntu
8.04 and then Dosemu 1.4.0.0. My printer, a HP Officejet K80xi works fine in
linux for both text and graphical files (I just enter lpr filename and
either file prints fine with no further input on my part). After I enter
FreeDos, I can only print text files. If I could enter some magical command
from within dos that executed any linux command, the problem would be
solved. Soooo, my question is "Does such a command exist?".
    

AFAIR, Dosemu includes a utility that can execute unix commands from
within dosemu.  You should check the dosemu documentation.
  
Bob T.

    
Blair: Thanks for the help! I found the right documentation finally: the file "dosemu.list" lists all (?) dosemu files and their paths. Specifically /usr/lib/dosemu/drive_z/dosemu/unix.com. This file is neat: it is a tree struckture of where each file is located.

Anyhow I printed "unix lpr ~/Dosprog/roses.jpg" and "unix lpr -p -o cpi=10 -o lpi=6 ~/Dosprog/TXT" where TXT is a text file. Conclusion: both .jpg files and fancy detaied printing of text files works great. Thanks again  --  Bob T.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@...
https://lists.sourceforge.net/lists/listinfo/freedos-user