ShellExecute
Como copio um arquivo de um diretório para outro ?????
Estou usando :
ShellExecute(0,nil,´´,´Copy V:\DIRETD\SUA.SEM E:\TABLES´ ,nil,sw_hide);
mais não deu certo
se puder me mandem a sintaxe !!!
Estou usando :
ShellExecute(0,nil,´´,´Copy V:\DIRETD\SUA.SEM E:\TABLES´ ,nil,sw_hide);
mais não deu certo
se puder me mandem a sintaxe !!!
Fabiano Góes
Curtidas 0
Respostas
Massuda
03/08/2005
Faça uma [url=http://forum.clubedelphi.net/search.php]pesquisa[/url] aqui no forum sobre a função [b:b1004b481d]CopyFile[/b:b1004b481d].
GOSTEI 0
Fabiano Góes
03/08/2005
Valeu Massuda, o CopyFile Resolveu o meu problema !!!
if FileExists(sArq) then
begin
CopyFile(PChar(sArq),PChar(´E:\TABLES\SUA.SEM´), true);
end else
begin
ShowMessage(´Arquivo de Origem não encontrado ( SUA.SEM )´);
end;
Um grande abraço !!!
if FileExists(sArq) then
begin
CopyFile(PChar(sArq),PChar(´E:\TABLES\SUA.SEM´), true);
end else
begin
ShowMessage(´Arquivo de Origem não encontrado ( SUA.SEM )´);
end;
Um grande abraço !!!
GOSTEI 0