Finding the path of Word 2007 on my computer

M

moon

I have XP Pro and Word 2007. I am attempting to find the path of Word 2007 on
my computer. How do I do that? Where do I look?

Thank you.
 
F

Family Tree Mike

I have XP Pro and Word 2007. I am attempting to find the path of Word 2007 on
my computer. How do I do that? Where do I look?

Thank you.

YOu didn't say if you prefered vb.net or C#. You normally would never
need to find this. You could do it with this code however (use a valid
file to test however):

static void Main(string[] args)
{
Process p = new Process();
p.StartInfo.FileName = @"c:\test\test.docx";
p.Start();
Console.WriteLine(p.MainModule.FileName);
Console.WriteLine("OK");
Console.ReadKey();
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top