tzanchanim2000
2003-07-11 21:05:32 UTC
Hi all,
I would like to execute a batch file which prompts a user to enter
their email address so a file will be sent to them notfying them of a
task completion. I would prefer it to ask them in the very begining
before anything is executed. Below is what I have which executes
automatically:
xcopy E:\D3Database
E:\D3DatabaseCopy /E /y /v /F>C:\BatchLogs\D3copy.txt
c:\blat194\blat - -body "See Attachment" -to
***@watersaversinc.com -server mail.aawsom.net -port 25 -f
***@watersaversinc.com -u markg%%watersaversinc.com -pw ****** -
subject "D3 Database Copy" -attach "C:\BatchLogs\D3Copy.txt"
Del C:\Batchlogs\D3copy.txt
I am not up on how to create user interaction with batch files. So if
it would not be too dificult could someone could please alter it so
that it would prompt for an email address?
Thank you in advance,
Mark
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada.
We have your brand: HP, Epson, Lexmark, Canon & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/kP..SB/49VGAA/ySSFAA/dkFolB/TM
---------------------------------------------------------------------~->
I would like to execute a batch file which prompts a user to enter
their email address so a file will be sent to them notfying them of a
task completion. I would prefer it to ask them in the very begining
before anything is executed. Below is what I have which executes
automatically:
xcopy E:\D3Database
E:\D3DatabaseCopy /E /y /v /F>C:\BatchLogs\D3copy.txt
c:\blat194\blat - -body "See Attachment" -to
***@watersaversinc.com -server mail.aawsom.net -port 25 -f
***@watersaversinc.com -u markg%%watersaversinc.com -pw ****** -
subject "D3 Database Copy" -attach "C:\BatchLogs\D3Copy.txt"
Del C:\Batchlogs\D3copy.txt
I am not up on how to create user interaction with batch files. So if
it would not be too dificult could someone could please alter it so
that it would prompt for an email address?
Thank you in advance,
Mark
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada.
We have your brand: HP, Epson, Lexmark, Canon & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/kP..SB/49VGAA/ySSFAA/dkFolB/TM
---------------------------------------------------------------------~->