Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: auto start  (Read 3817 times)

0 Members and 1 Guest are viewing this topic.

unlovedwarrior

    Topic Starter


    Guru

  • someday this name will be known
  • Thanked: 13
    auto start
    « on: July 11, 2006, 04:27:32 PM »
    how would i get a batch file to start when a user logs in??

    Sidewinder



      Guru

      Thanked: 139
    • Experience: Familiar
    • OS: Windows 10
    Re: auto start
    « Reply #1 on: July 12, 2006, 02:10:50 PM »
    Try opening the startup folder (Start==>Startup) and create a shortcut to your batch file.

    Keep in mind that batch files require the command processor to run and can create unanticipated problems during startup.

     8-)
    The true sign of intelligence is not knowledge but imagination.

    -- Albert Einstein

    unlovedwarrior

      Topic Starter


      Guru

    • someday this name will be known
    • Thanked: 13
      Re: auto start
      « Reply #2 on: July 12, 2006, 04:11:25 PM »
      like what??

      Sidewinder



        Guru

        Thanked: 139
      • Experience: Familiar
      • OS: Windows 10
      Re: auto start
      « Reply #3 on: July 12, 2006, 04:34:59 PM »
      Hard to say. With no knowledge on your batch file, would not any problem would be unanticipated? ;)

      An real world example might be your batch file runs a report against a file on a network share before the share has been mapped.

      Just make sure that the required resources for your batch file will be available during the startup.

       8-)
      The true sign of intelligence is not knowledge but imagination.

      -- Albert Einstein

      unlovedwarrior

        Topic Starter


        Guru

      • someday this name will be known
      • Thanked: 13
        Re: auto start
        « Reply #4 on: July 12, 2006, 04:40:27 PM »
        the batch file i want to autostart is a timed shutdown for the computer...

        Sidewinder



          Guru

          Thanked: 139
        • Experience: Familiar
        • OS: Windows 10
        Re: auto start
        « Reply #5 on: July 12, 2006, 05:03:21 PM »
        Timed how?

        Elapsed time from the startup? ex. Computer runs 7 hours then shuts down.

        Scheduled time? ex. Computer shuts down at 6PM.

        For the first one I would write a windows script as dates and times are better handled with script than with batch code.

        For the second one, I would use the task scheduler and simply schedule the shutdown.

         8-)

        The true sign of intelligence is not knowledge but imagination.

        -- Albert Einstein

        unlovedwarrior

          Topic Starter


          Guru

        • someday this name will be known
        • Thanked: 13
          Re: auto start
          « Reply #6 on: July 12, 2006, 05:05:15 PM »
          windows script??

          umm.. let me turn to wise old king google 8-)