Topic: utility to copy table from one database to another

How can I eliminate space error in path of database

My utility Works fine with copying table from one database to another but when there is space in folder name it stops working

So How to avoid space error....??

Post's attachments

Attachment icon testcopytable.zip 411.83 kb, 403 downloads since 2017-05-25 

Re: utility to copy table from one database to another

Check it out
https://stackoverflow.com/questions/637 … ces-in-cmd



Just add quotes for Path variable

OpenFile('/k cd "'+Path+'"&dir&'+s,'cmd.exe'); 
Dmitry.

Re: utility to copy table from one database to another

Thanks @Dmitry. How can I remove those save buttons from "DBFIle" component.

Re: utility to copy table from one database to another

kim143 wrote:

Thanks @Dmitry. How can I remove those save buttons from "DBFIle" component.

procedure Form1_OnShow (Sender: string; Action: string);
begin
    Form1.DBFile1.RightButton.Visible := False;
    Form1.DBFile1.LeftButton.Visible := False;
end;
Dmitry.