Link to home
Start Free TrialLog in
Avatar of Vincentg
VincentgFlag for Netherlands

asked on

Access copy program Windows

Hello,

When I am in My Computer(Win95/98) and rightclick the A:
and then click copy disk there is a form showing.
Who can tell me how to access this program from delphi?

Thanks,
Vincent
ASKER CERTIFIED SOLUTION
Avatar of heathprovost
heathprovost
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Vincentg

ASKER

Heath,

Thanks a lot :)

Vincent
Heath,

Can you also tell me how this works with the format option..
I found it in shell.dll but I don't know how to execute it.

Thanks,
Vincent


Heath,

Can you also tell me how this works with the format option..
I found it in shell.dll but I don't know how to execute it.

Thanks,
Vincent


Sure, it is like this

procedure TForm1.Button1Click(Sender: TObject);
begin
  ShellExecute(Form1.Handle, nil, 'rundll32.exe', 'shell32.dll, SHFormatDrive', nil, SW_SHOWNORMAL);
end;

No problem

Heath
Thanks again, Heath

I tried it with shell.dll and that didn't work.

Thanks again.
Vincent