Discussion Locked
Moving a file from one directory to the other
0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
To move a file can embed a "system" command with the respective DOS commands as parameters.
eg: system("move c:\vin.exe d:\vin.exe").
But the if the parameters are variables it will not work. The parameters should be of the type "Char const * "
How to generalise moving files?