Windows 2k Script to start a program.

Hello All,

I would like to create a startup for a Win2k machine that will start multiple programs for me (without having to login, if at all possible).  One of the programs the script will start, requires access to a specific spreadsheet.  The program gets the location and opens the file from user interaction.  Through scripting, is it possible to provide the program with the location of the excel file then have it open it as if the user was sitting right there?

Lastly, I have no experience creating a startup script for any Windows platform.  If telling the program to locate and open an excel workbook is too much, I'd at least like to learn how to start a program through scripting.

Thanks Experts!!!
Who is Participating?
SysExpertConnect With a Mentor Commented:
1) Difficult to script without a user login
2) All that may be needed is to put the excel file shortcut in the startup folder, or put in a batch file to run the Excel program with the path to the XLS file as a parameter.

You might want to ask this in the MSDOS TA since they do a lot of scripting tere.

I hope this helps !
Alan Huseyin KayahanCommented:
           Only services run in background without having to login. If the software has the capabilty, you should install it as a service.
neelyjerAuthor Commented:
Understood.  How then would I create a script to start up the required program upon successful login?  Again, I have done no scripting before.  I need to know how to create the script and how to make sure it intializes on login.  Secondary to creating the script.  Can I implement the script for any user that successfully logs in to the workstation?

Thanks Guys!!
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

jonesbrandonConnect With a Mentor Commented:
Open my computer and browse to c:\documents and settings\all users\start meny\programs\startup

Drag a shourtcut to the file that you want to open when users login.  Since it is in the all users folder, any new users that are created will get the file when they login.
neelyjerAuthor Commented:

I'll try this option out and get back to you.  If this works I will split the points between you and SysExpert as this is essentially what he suggested.  You provided the steps.

neelyjerAuthor Commented:
Sorry for the major delay guys.  I've been super busy at work.  Anyway, it looks like the options provided above is working.  Thanks jonesbrandon & SysExpert.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.