News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Program to copy files to another location

Started by skywalker, December 07, 2005, 05:49:18 PM

Previous topic - Next topic

skywalker

 I am looking for a program that will copy files to
another location on shutdown or one that'll let you just
click and copy them in one step. Different files would
be added on occasion. Hope that made sense. :-)

zooba

Sounds like a backup system.

Have you tried playing with XCOPY and batch files?

skywalker

Quote from: zooba on December 07, 2005, 08:25:47 PM
Sounds like a backup system.

Have you tried playing with XCOPY and batch files?

That wouldn't be an automated way now would it ? :-)

Tedd

It's simple enough to write :P

Have it respond to the WM_ENDSESSION message:
- read in the file containing the list of files to copy (and a destination?) - one per line
- extract each line (from start to newline)
- copy the file
- repeat for each line
- close the list file
- return TRUE

:bg
No snowflake in an avalanche feels responsible.

skywalker

Quote from: Tedd on December 08, 2005, 11:41:43 AM
It's simple enough to write :P

Have it respond to the WM_ENDSESSION message:
- read in the file containing the list of files to copy (and a destination?) - one per line
- extract each line (from start to newline)
- copy the file
- repeat for each line
- close the list file
- return TRUE

:bg

Thanks.

Unfortunately I don't have the time to devote to programming anymore because of my job.
It looks like your method would work and I could manually change the list.



Tedd

Quote from: skywalker on December 08, 2005, 05:14:07 PM
Unfortunately I don't have the time to devote to programming anymore because of my job.

Awww, that's too bad :bdg
No snowflake in an avalanche feels responsible.

skywalker

Quote from: Tedd on December 09, 2005, 02:26:34 PM
Quote from: skywalker on December 08, 2005, 05:14:07 PM
Unfortunately I don't have the time to devote to programming anymore because of my job.

Awww, that's too bad :bdg

Your such a good bud. :-(


Tedd

Well maybe if you've been a good boy this year, Santa will bring you something you like :wink
No snowflake in an avalanche feels responsible.

skywalker

Quote from: Tedd on December 14, 2005, 12:33:59 PM
Well maybe if you've been a good boy this year, Santa will bring you something you like :wink

I have behaved most of the time. I am getting a P-3 system shortly, used but it has Win2000, so I can install the SDK finally. Can't remember if it has a CD burner, but it's be nice not having to backup to floppies. :-)

I was told by an IT guy that Win2K is better with hardware conflicts(older cards, etc.) than XP.
Any major advantages of XP over 2K.

Outta here....


zooba

Quote from: skywalker on January 01, 2006, 07:57:34 PM
I was told by an IT guy that Win2K is better with hardware conflicts(older cards, etc.) than XP.

I'd be surprised. One of the major selling points of XP was that it supported a few hundred more devices than 2K. If you're willing to click 'Continue' on all the warning dialogs I'm pretty sure XP will come out on top (but then you're not allowed to blame M$ for your computer crashing  :P :U)

skywalker

Quote from: zooba on January 01, 2006, 10:42:01 PM
Quote from: skywalker on January 01, 2006, 07:57:34 PM
I was told by an IT guy that Win2K is better with hardware conflicts(older cards, etc.) than XP.

I'd be surprised. One of the major selling points of XP was that it supported a few hundred more devices than 2K. If you're willing to click 'Continue' on all the warning dialogs I'm pretty sure XP will come out on top (but then you're not allowed to blame M$ for your computer crashing  :P :U)

But with hardware having it's software drivers, wouldn't they be newer and better anyway ?


zooba

Quote from: skywalker on January 03, 2006, 02:21:35 PM
But with hardware having it's software drivers, wouldn't they be newer and better anyway ?

Depends on whether you want to use the functionality or not.

Good examples are Logitech mouses (mice?). They work fine with the generic mouse driver, but if you want to use the extra buttons for stuff then you need all the Logitech drivers. Same probably applies for any other mouse.