Fórum ShellExecute #290592
03/08/2005
0
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
Curtir tópico
+ 0
Responder
Posts
03/08/2005
Massuda
Faça uma [url=http://forum.clubedelphi.net/search.php]pesquisa[/url] aqui no forum sobre a função [b:b1004b481d]CopyFile[/b:b1004b481d].
Responder
Gostei + 0
03/08/2005
Fabiano Góes
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 !!!
Responder
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)