Results 1 to 3 of 3

Thread: Might Be In Wrong Place, But

  1. #1
    Calm
    Down
    Or
    Get
    A
    2
    Week
    Vacation
    -Love
    The
    Forum
    Policeman
    Wiredwrx's Avatar
    Join Date
    Jan 2003
    Posts
    3,605

    Might Be In Wrong Place, But

    Hello All,

    I am in need of a small dos program, that can run just before the computer boots into windows, or I guess, any language program would be fine.

    Here is my need,

    I need the program to run, either before the computer boots into windows, or while it is booting. It needs to send some serial commands out the com port, wait a fixed amount of time, and then send some more commands.

    I also need something that can run during the shut down process, or just before it, that send some serial commands out the same com port, waits, and then sends some additional commands, before it shuts down completely.

    Since I am using an ITPS on the computer, I can boot into dos when shutting down, and the program can run like that.

    I know it is a wierd request, but I have fair in the guys on this board. Besides, I am in the midst of trying to use a PIC to do this, but I am just learning that stuff. Until then, I would still like to be able to do what I need to do. I will post information about it once I can get it to work correctly.

    Thanx
    Michael

  2. #2
    Calm
    Down
    Or
    Get
    A
    2
    Week
    Vacation
    -Love
    The
    Forum
    Policeman
    Wiredwrx's Avatar
    Join Date
    Jan 2003
    Posts
    3,605
    Bump.

    Can anyone help with a small DOS program?

    Thanx
    Michael

  3. #3
    Variable Bitrate
    Join Date
    Dec 2003
    Location
    Michigan
    Posts
    314
    create a batch file... for instance command1.bat (a batch file is a text file like notepad, with a .bat extension)

    the contents of the batch file should be:

    echo serial command > comport

    I think that should do it, I don't know exactly what you're trying to do, but give something like that a try. You can also do a google search for somthing like serial batch commands.

    Attached is a batch file command1.txt (needs to be renamed .bat) that would in theory send the text "whattosend" without the quotes to com1, changing this should do whatever you need it to do, maybe... I'm a bit rusty in my batch file creations.
    Attached Files Attached Files
    2006 Chevy Colorado: VIA M10000 EDEN, 1 GB RAM, 80 GB 2.5" Seagate HDD, USB Slim Slot DVD/RW, Holux GPS, MobileVU 10.4" LCD (touch not working yet), VOOMPC Case (blue), 70W DC-DC supply.

Similar Threads

  1. Something wrong, help need! : making -8V and 5V PS,
    By helloman in forum Power Supplies
    Replies: 5
    Last Post: 09-06-2004, 05:08 PM
  2. Are we putting the Tank circuit in the wrong place?
    By VWTronics in forum Power Supplies
    Replies: 1
    Last Post: 01-19-2004, 01:44 PM
  3. Ok here's another, "What's wrong with this picture"
    By CrazyLittle in forum Off Topic
    Replies: 8
    Last Post: 04-25-2002, 12:11 PM
  4. The best place for LCD's
    By gish34334 in forum LCD/Display
    Replies: 1
    Last Post: 04-29-2001, 11:24 PM
  5. Something wrong, help need! : making -8V and 5V PS,
    By helloman in forum General Hardware Discussion
    Replies: 1
    Last Post: 04-27-2001, 04:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •