rsivam
asked on
How to find the last open Directory
Hello
How to find which Dir open Last.
For eg.We can open dir in windos
manually like c:\temp\sub\test,...., ,, .C\Test
and we can open no of dir.
When i ececuting delphi exe i want to Known
which Dir open last(C:\Test)
Thanks in Advance
Regards
Sivam RN
How to find which Dir open Last.
For eg.We can open dir in windos
manually like c:\temp\sub\test,...., ,, .C\Test
and we can open no of dir.
When i ececuting delphi exe i want to Known
which Dir open last(C:\Test)
Thanks in Advance
Regards
Sivam RN
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello Slick812
Thru one application or Manually I can open one Directory.
And executing the other application i want to trace
Path opened by the first one.
HKEY_CURRENT_USER\Software \Microsoft \Windows\C urrentVers ion\Explor er\RecentD ocs\Folder
I think
The above is one of the solution for that.
But we take care about retreving data.
Your idea is somewhat easier.
But one condition if both exe should be in the same place
otherwise it wont trace.
Thru one application or Manually I can open one Directory.
And executing the other application i want to trace
Path opened by the first one.
HKEY_CURRENT_USER\Software
I think
The above is one of the solution for that.
But we take care about retreving data.
Your idea is somewhat easier.
But one condition if both exe should be in the same place
otherwise it wont trace.
ASKER
Hello Slick812
Thru one application or Manually I can open one Directory.
And executing the other application i want to trace
Path opened by the first one.
HKEY_CURRENT_USER\Software \Microsoft \Windows\C urrentVers ion\Explor er\RecentD ocs\Folder
I think
The above is one of the solution for that.
But we take care about retreving data.
Your idea is somewhat easier.
But one condition if both exe should be in the same place
otherwise it wont trace.
Thru one application or Manually I can open one Directory.
And executing the other application i want to trace
Path opened by the first one.
HKEY_CURRENT_USER\Software
I think
The above is one of the solution for that.
But we take care about retreving data.
Your idea is somewhat easier.
But one condition if both exe should be in the same place
otherwise it wont trace.
ASKER
Hello Slick812
From that API we will get the Current Dir.
But we didnt get the Dir opened by the other Application.
From that API we will get the Current Dir.
But we didnt get the Dir opened by the other Application.
ASKER
Hello Slick812
From that API we will get the Current Dir.
But we didnt get the Dir opened by the other Application.
From that API we will get the Current Dir.
But we didnt get the Dir opened by the other Application.
rsivam:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
Hi!
No comment has been added lately and this question is therefore classified abandoned.
If asker wishes to close the question, then refer to
https://www.experts-exchange.com/help/closing.jsp
Otherwise, I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: DjamD
Please leave any comments here within the next seven days. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
...Snehanshu
EE Cleanup Volunteer
No comment has been added lately and this question is therefore classified abandoned.
If asker wishes to close the question, then refer to
https://www.experts-exchange.com/help/closing.jsp
Otherwise, I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: DjamD
Please leave any comments here within the next seven days. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
...Snehanshu
EE Cleanup Volunteer
var
AryChar: Array[0..1024] of Char;
begin
GetCurrentDirectory(1023,A
Label1.Caption := AryChar;
end;