Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Need Batch File code to copy emails
Closed Thread
Old 10-01-2004, 08:55 PM   #1 (permalink)
 
Newb Techie

Join Date: Apr 2004

Posts: 36

alphiemarn

Default Need Batch File code to copy emails

I got stuck on this one...

Please can a genius help me to write a batch script on how to copy all incoming and outgoing emails to a different directory/folder.
alphiemarn is offline  
Old 10-02-2004, 08:49 AM   #2 (permalink)
 
Super Techie

Join Date: Jun 2004

Posts: 312

sippin codeine

Send a message via Yahoo to sippin codeine
Default

what are the emails? are they text files, you need to give me more info man, like what are the directories?
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline  
Old 10-03-2004, 09:35 PM   #3 (permalink)
 
Newb Techie

Join Date: Apr 2004

Posts: 36

alphiemarn

Default

The emails are text files...

About directories say from folder "queue" to folder "temp"
alphiemarn is offline  
Old 10-04-2004, 01:44 AM   #4 (permalink)
 
Super Techie

Join Date: Jun 2004

Posts: 312

sippin codeine

Send a message via Yahoo to sippin codeine
Default

not really genius but its a batch

cls
@echo off
copy c:\queue\*.txt c:\temp

if you want to delete the orgional files from "c:\queue\" add

del c:\queue\*.txt
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline  
Old 10-04-2004, 03:13 AM   #5 (permalink)
 
Newb Techie

Join Date: Apr 2004

Posts: 36

alphiemarn

Default

Thanks sippin codeine....I'll try that and tell you the outcome.
alphiemarn is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On