Re: [WIN] "system" command flashes dos boxes
- Posted by Dan B Moyer <DANMOYER at PRODIGY.NET> Nov 17, 2000
- 435 views
Derek, Thanks! I was trying to maintain compatibility with earlier versions of Win32Lib (.50), rather than use the bleeding edge :) , but maybe I will just "lift" those sections out from 54, & include them (alt named) in my prog, if no one has had any problems with them? Dan ----- Original Message ----- From: "Derek Parnell" <dparnell at BIGPOND.NET.AU> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, November 17, 2000 2:16 PM Subject: Re: [WIN] "system" command flashes dos boxes > Dan, > these functions are built in to win32Lib now. Look up copyFile(), > deleteFile(), moveFile() etc... functions. > > copyFile("ide_code.ew","org_code.ew") > <snip logic> > deleteFile("ide_code.ew") > copyFile("alt_code.ew","ide_code.ew") > > shellExecuteEx("open","exw.exe","ide.exw", 0, 0, 0) > > > ------ > Derek Parnell > Melbourne, Australia > (Vote [1] The Cheshire Cat for Internet Mascot) > > ----- Original Message ----- > From: "CK's Yahoo Mail" <cklester at YAHOO.COM> > To: <EUPHORIA at LISTSERV.MUOHIO.EDU> > Sent: Saturday, November 18, 2000 4:27 AM > Subject: Re: [WIN] "system" command flashes dos boxes > > > > search the archives for Win32 native file manipulation routines... > > > > ----- Original Message ----- > > From: "Dan B Moyer" <DANMOYER at PRODIGY.NET> > > To: <EUPHORIA at LISTSERV.MUOHIO.EDU> > > Sent: Thursday, November 16, 2000 6:10 AM > > Subject: [WIN] "system" command flashes dos boxes > > > > > > > When I use the "system" command in a Windows program to do some file > > copy's > > > and delete's, it causes dos boxes to flash on & off the screen, which > I'd > > > rather not have happen; is there any way to do this without the dos > boxes > > > flashing on & off? They do go away on their own, but I'd rather not > have > > > them flashing distractingly in the windows program. > > > > > > example: > > > system("copy ide_code.ew org_code.ew",2) > > > <snip logic> > > > system("del ide_code.ew",2 ) > > > system("copy alt_code.ew ide_code.ew",2 ) > > > system("exw.exe ide.exw", 2) > > > > > > I'm making a Euphoria program to replace the batch files I included to > use > > > to switch between my "auto-paste routines" variation on Judith/David's > IDE > > > and her original. > > > > > > Dan Moyer > > > > > > __________________________________________________ > > Do You Yahoo!? > > Talk to your friends online with Yahoo! Messenger. > > http://im.yahoo.com