CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Running CGI script direct from windows?

 



neil
Deleted

Nov 30, 2000, 1:31 PM

Post #1 of 1 (537 views)
Running CGI script direct from windows? Can't Post

I am using a freeware discussionboard (written in perl-cgi) that utilises CGI script - that all works fine. My site is hosted on Win98 and uses MS-PWS-3.

However I want to add an option that allows users to post messages from an email, that arrives at a server hosted on the same machine. The perl/CGI file is there, but it was really designed for a UNIX system where the email can be redirected to a file (the script).

How can I call the script from DOS/Windows? If I have a mail message in a file 'mail.eml' , and my cgi script runs in C:\scripts\mail.cgi can I call it in some way like:

C:\scripts\mail.cgi mail.eml

? Say from a dos prompt - or better still a batch file?

Neil

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives