Moving a file from one directory to the other - TechRepublic
General discussion
December 19, 2003 at 04:31 AM
vinodbabu

Moving a file from one directory to the other

by vinodbabu . Updated 22 years, 6 months ago

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?

This discussion is locked

All Comments