1.

Solve : auto start?

Answer»

how would i get a batch file to start when a user LOGS in??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-)like what??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 batch file i WANT to autostart is a timed shutdown for the computer...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-)

windows script??

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



Discussion

No Comment Found