Jump to content
Sign in to follow this  
AvidLearner

Help getting fullpath

Recommended Posts

AvidLearner

I need some help plz...!!

How can we find the fullpath of the word document which is in open state..?? The name of the document is known,, just need the fullpath..

Thnx... >_<

Edited by AvidLearner

Share this post


Link to post
Share on other sites
Scriptonize

You could check the "working folder" or the "current directory" of winword.exe process.


If you learn from It, it's not a mistake

Share this post


Link to post
Share on other sites
AvidLearner

You could check the "working folder" or the "current directory" of winword.exe process.

I tried tat... It shows "C:\Program Files\Microsoft Office\Office12\winword.exe"

Share this post


Link to post
Share on other sites
Scriptonize

Are you sure you have been looking at the right property?

According to Sysinternals process-explorer, that property ("C:\Program Files\Microsoft Office\Office12\winword.exe") is the path of that process.

There is also a "current directory" (or working directory) property.

That's the one you should have.


If you learn from It, it's not a mistake

Share this post


Link to post
Share on other sites
AvidLearner

Are you sure you have been looking at the right property?

According to Sysinternals process-explorer, that property ("C:\Program Files\Microsoft Office\Office12\winword.exe") is the path of that process.

There is also a "current directory" (or working directory) property.

That's the one you should have.

Sorry, I couldn't find such command... Can u gimme an example please..??

Share this post


Link to post
Share on other sites
Scriptonize

Sysinternals Process-explorer is a 3rd party tool.

A very powerful tool to see what processes currently are running on your system.

Also gives it extra info about these processes such as mentioned in my reply.

Take a look here for more info.


If you learn from It, it's not a mistake

Share this post


Link to post
Share on other sites
AvidLearner

Okay... I'll try this...

Thank you.. >_<

Share this post


Link to post
Share on other sites
AvidLearner

But how can I extract the path from Process explorer to autoit....??

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.