AvidLearner Posted August 17, 2009 Share Posted August 17, 2009 (edited) 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 August 17, 2009 by AvidLearner Link to comment Share on other sites More sharing options...
Scriptonize Posted August 17, 2009 Share Posted August 17, 2009 You could check the "working folder" or the "current directory" of winword.exe process. If you learn from It, it's not a mistake Link to comment Share on other sites More sharing options...
AvidLearner Posted August 17, 2009 Author Share Posted August 17, 2009 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" Link to comment Share on other sites More sharing options...
Scriptonize Posted August 17, 2009 Share Posted August 17, 2009 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 Link to comment Share on other sites More sharing options...
AvidLearner Posted August 17, 2009 Author Share Posted August 17, 2009 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..?? Link to comment Share on other sites More sharing options...
Scriptonize Posted August 17, 2009 Share Posted August 17, 2009 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 Link to comment Share on other sites More sharing options...
AvidLearner Posted August 17, 2009 Author Share Posted August 17, 2009 Okay... I'll try this... Thank you.. >_< Link to comment Share on other sites More sharing options...
AvidLearner Posted August 17, 2009 Author Share Posted August 17, 2009 But how can I extract the path from Process explorer to autoit....?? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now