QBasic Help

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

edwright

Thread Starter
Joined
Jan 10, 2003
Messages
1
Sorry to insult anyone, but it's been 15 years or better since I did any programming.
I just need a simple basic program to read a directory every 10 minutes and send me an email. I need to monitor a directory system and it's subdirectories, but it's on a PC that I dont have access to.

I can remember this much, but I know I dont have the syntax right. Anyone feel like helping? I would certainly appreciate it. Thanks!

ON TIMER(1) GOSUB TimeUpdate
TIMER ON
CLS
StartTime = TIMER
WHILE TimePast < 600
TimePast = TIMER - StartTime
(I need a command shell here to execute: dir c:\mailboxes /s >monfile.txt)
(then a command to email the file)
WEND
END

OR, just a simple web page that says, enter your email address here, then executes the directory to text file and emails it. I can do it either way.
Thanks
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top