Opening a file along with an office program

I want to set it so that whenever the shortcut to say, Excel is opened, it opens an excel file automatically along with it.  Or when someone clicks to open Word, it automatically pulls up a .doc file as it opens.  Any way to do this?  thanks.
LVL 8
TymetwisterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joe Winograd, Fellow&MVEDeveloperCommented:
When you create your shortcut, put the fully qualified file name in the Target box. For example,

"D:\data\word\file to open.doc"
"D:\data\excel\file to open.xls"

Since Word owns the DOC file type and Excel owns the XLS file type, they will be opened.

Here's an example screenshot:
Word shortcutI created this shortcut by simply right-clicking on the Word file in a file manager (such as Windows Explorer) and selecting the context menu Create Shortcut, then renaming it. Regards, Joe
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TymetwisterAuthor Commented:
I guess I should have mentioned that the file in question is on a shared drive, and one that multiple people update.  It looks like this method would require that the file is in the same folder as the program.  Is that right?  If so is there a way to do it if the file is located on a network (shared) drive?
0
Paul SauvéRetiredCommented:
In the General tab, the path to the executable program is specified! In the Shortcut tab, the Target field contains the document to open and the Start in field, the FOLDER is specified...
0
Joe Winograd, Fellow&MVEDeveloperCommented:
> It looks like this method would require that the file is in the same folder as the program.  Is that right?

Nope. The file can be anywhere, including the network. Here's a screenshot from one of my network shares (the Y drive):
file on network driveRegards, Joe
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.