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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -