1. [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

new topic     » topic index » view message » categorize

2. 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

new topic     » goto parent     » topic index » view message » categorize

3. 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

new topic     » goto parent     » topic index » view message » categorize

4. Re: [WIN] "system" command flashes dos boxes

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: [WIN] "system" command flashes dos boxes

look for 'Win32 utilities' by Matt Ariola in the
Recent (sep 9) User Contribs. Includes file I/o for
win32

--- CK's Yahoo Mail <cklester at YAHOO.COM> wrote:
> 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


=====
ThinkWays! a  modular and distributed technical information environment from
Modular Reality systems.
http://www.geocities.com/SiliconValley/Lab/7577
Live: Useless Web Camera
Commuter Hell!

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

new topic     » goto parent     » topic index » view message » categorize

6. Re: [WIN] "system" command flashes dos boxes

Oh, will get it, thanks a lot!!

Dan


----- Original Message -----
From: "THINKSWAYS EMAIL ROBOT" <thinkways at YAHOO.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Sunday, November 19, 2000 12:42 PM
Subject: Re: [WIN] "system" command flashes dos boxes


> look for 'Win32 utilities' by Matt Ariola in the
> Recent (sep 9) User Contribs. Includes file I/o for
> win32
>
> --- CK's Yahoo Mail <cklester at YAHOO.COM> wrote:
> > 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
>
>
> =====
> ThinkWays! a  modular and distributed technical information environment
from Modular Reality systems.
> http://www.geocities.com/SiliconValley/Lab/7577
> Live: Useless Web Camera
> http://www.geocities.com/SiliconValley/Lab/7577/camera.htm
> Commuter Hell!
> http://www.geocities.com/SiliconValley/Lab/7577/commute/commute.htm
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Calendar - Get organized for the holidays!
> http://calendar.yahoo.com/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu