Re: MS-Dos

"Daniel Cristea" <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <000301c3469f$b3d2b1e0$63fde6c1@nabla>
Hi,
try this:

WinExec('cmd /c 'dir > list.txt',sw_hide),  for winnt,w2k, winxp
 or
WinExec('command.com /c 'dir > list.txt',sw_hide),  for win9x;

Daniel

> Hi,
> I want call a program of terminal (for example: system ('dir >
list.txt')),
> but i don't want see the ms-dos popup. Something like
> to WinExec ('write', SW_HIDE). It's possible?
>
> --
> Narumi Abe


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada.
We have your brand: HP, Epson, Lexmark, Canon & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/kP..SB/49VGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->

Delphi Tips & Tutorials...
http://www.delphicollection.com
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.