Results 1 to 2 of 2

Thread: Auto run .bat

  1. #1
    HallMiller is offline Senior Member
    Join Date
    Dec 2009
    Posts
    251
    Rep Power
    3

    Default Auto run .bat

    I am attempting to make a batch file or although possible just a txt file directly to auto run when a folder is opened up on a flash drive. It is possible or not with .exe?

    I made a file autorun.inf
    after that had the

    [autorun]
    open=test.txt

    the test.txt is the name of the text file and I figured possibly could not open .txt so I tried making a .bat to run the .txt but it did not work. Any suggestion would be highly appreciated.

  2. #2
    AllenBrown is offline Senior Member
    Join Date
    Dec 2009
    Posts
    240
    Rep Power
    3

    Default

    The "open=..." will try to execute the text file itself which is especially dissimilar than opening it. For Windows, you can always try "open=notepad test.txt" if that is what you required it to do.

Similar Threads

  1. Auto shutdown
    By RussellBarnes in forum Software Jargons
    Replies: 1
    Last Post: 01-16-2010, 02:21 PM
  2. Auto-autofs
    By Erick waugh in forum Linux/Free BSD
    Replies: 0
    Last Post: 05-21-2009, 09:41 AM
  3. Auto Hot key willlet
    By onshed in forum Everything Else
    Replies: 0
    Last Post: 08-06-2008, 04:22 PM
  4. Using Auto Complete
    By rinakh in forum Windows Vista
    Replies: 0
    Last Post: 06-28-2008, 05:09 PM
  5. Auto-responder
    By techno23 in forum General Internet Terms
    Replies: 0
    Last Post: 03-25-2008, 11:28 AM

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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48