Get ImageTool.exe Path

I'm wondering how to get Text content of TEdit from another Form? Because I need to get the path of ImageTool.exe in a Form and use it in another one, in order to use in a small tool I'm working on these days

I have Button1 on Form1 which will show me a message that contains the content of Edit1->Text that is found in Form2.

Code: (C++)
#include <Windows.h>
void __fastcall TForm1::Button1Click(TObject *Sender)
It gives me an empty message. Someone help please?

Using: Embarcadero C++ Builder 10 Seattle

****************** Edit: Solved the problem after declaring the Form2 on Form1.h *********************************

Another question please:
Is there any function that can copy the whole folder (not just 1 file) ?
The CopyFile function can only copy one file at once. I need to find a way to copy multiple files at the same time.

Please help!
Last edited: