1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

QBasic Help

Discussion in 'Software Development' started by edwright, Jan 10, 2003.

Thread Status:
Not open for further replies.
  1. edwright

    edwright Thread Starter

    Jan 10, 2003
    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
    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)

    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.
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 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/112455

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice