• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

COPYING NEW FILES, EMAILING THEM WHEN CONNECTED TO INTERNET

I have 26 people with laptops roaming around the nation, creating special configurations on customer computers.  These config files are small (70k), and always have an extension of CFG.  We keep these config files in a central repository on my home pc.  Folks are supposed to email these to me periodically, but they forget.  We had an incident where the customer pc went down and so did our person's laptop, so we lost the config.

How can I create a program that will scan the laptop, find the config files, zip them, and email them to me when they hook up to the internet?  If there is a way to do this, what are the steps?  This program does not need to be hidden.
Thanks!
0
LEECHIPTURNER
Asked:
LEECHIPTURNER
  • 6
  • 3
1 Solution
 
SysExpertCommented:
not that easy.

You could have them either run a periodic scheduled task for this or manually run it via  a batch file.

Trying to do it just when they have an internet connection may be more difficult, but a scheduled task can probably check for connectivity and then run if it finds it can connect.

BLAT is a command line mailer that can send files, or a VBS script can be used via outlook.

Use the Free  zip32 or gzip programs from a command line to grab the cfg files.


I hope this helps !
0
 
SysExpertCommented:
I would post this in the automation, scripting and MSDOS TAs for more answers.

0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
LEECHIPTURNERAuthor Commented:
Hi SysExpert,
thanks for the reply.  I am reading the Blat info now.  Can I use Blat in a batch file?  If so, if my email address is leechipturner@gmail.com, would I tell qzip to search for *.cfg files, then have Blat email the resulting file to leechipturner@gmail.com?  What would the syntax be?

Also, how do I move a question to automation?  Do I delete this one, and create another one?
thanks!
0
 
LEECHIPTURNERAuthor Commented:
Hi SysExpert,
thanks for the reply.  I am reading the Blat info now.  Can I use Blat in a batch file?  If so, if my email address is leechipturner@gmail.com, would I tell qzip to search for *.cfg files, then have Blat email the resulting file to leechipturner@gmail.com?  What would the syntax be?

Also, how do I move a question to automation?  Do I delete this one, and create another one?
thanks!
0
 
LEECHIPTURNERAuthor Commented:
Hi SysExpert,
thanks for the reply.  I am reading the Blat info now.  Can I use Blat in a batch file?  If so, if my email address is leechipturner@gmail.com, would I tell qzip to search for *.cfg files, then have Blat email the resulting file to leechipturner@gmail.com?  What would the syntax be?

Also, how do I move a question to automation?  Do I delete this one, and create another one?
thanks!
0
 
LEECHIPTURNERAuthor Commented:
Hi SysExpert,
thanks for the reply.  I am reading the Blat info now.  Can I use Blat in a batch file?  If so, if my email address is leechipturner@gmail.com, would I tell qzip to search for *.cfg files, then have Blat email the resulting file to leechipturner@gmail.com?  What would the syntax be?

Also, how do I move a question to automation?  Do I delete this one, and create another one?
thanks!
0
 
LEECHIPTURNERAuthor Commented:
CRAP! What is happening?  My comment keeps duplicating...
0
 
LEECHIPTURNERAuthor Commented:
No solution here that I could use.  Thanks anyway.  I did find that Winzip Pro does what I want:  finds files, zips them, and emails them on a schedule.  So I went that route.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now