i need to copy the source file to another folder
the code
Folder.Create(_ProgramFilesFolder .. "\\HOTBUT");
File.Copy(_SourceFolder .. "\\" .. _SourceFilename, _ProgramFilesFolder .. "\\HOTBUT\\", true, true, false, true, nil);
it is not good way???
Professional Software Development Tools
i need to copy the source file to another folder
the code
Folder.Create(_ProgramFilesFolder .. "\\HOTBUT");
File.Copy(_SourceFolder .. "\\" .. _SourceFilename, _ProgramFilesFolder .. "\\HOTBUT\\", true, true, false, true, nil);
it is not good way???
Last edited by lnd; 04-24-2008 at 11:50 AM.
Try this:
_ProgramFilesFolder .. "\\HOTBUT"
instead of:
_ProgramFilesFolder .. "\\HOTBUT\\"
On File.Copy line.
it's dont work
I'm not good at this but you can try it. It works for me..
Folder.Create(_ProgramFilesFolder .. "\\HOTBUT");
File.Copy(_SourceFolder .. "\\" .. "*.*", _ProgramFilesFolder .. "\\HOTBUT\\", true, true, false, true, nil);
yhb
yhb
It works for me too![]()
That's strange.
This does work for me.
Folder.Create(_ProgramFilesFolder .. "\\HOTBUT");
File.Copy(_SourceFolder .. "\\" .. _SourceFilename, _ProgramFilesFolder .. "\\HOTBUT", true, true, false, true, nil);