Copying or moving executable files via a vb6 program -
i want copy or move executable files 1 location another, removable disc hard drive using vb6
program. example - if run program, file 1 location copied location. please let me know how can done.
you can use filecopy
statement:
dim ssource string dim sdestination string ssource = "path\to\some\file.ext" sdestination = "path\to\some\other\file.ext" ' copies source destination filecopy ssource, sdestination
you can use statement change copied file's name, rename statement.
Comments
Post a Comment