I want to run a program that has to rename a folder H:\gk1\gk1 to gk2
When I run that command using
system("move H:\gk1\gk1 gk2");
it reports an error that "Bad command or file name" .
I even tried the rename command it give "Invalid path or filename"
The specified folder exists and no other application is using it.
If I run the same command from the command prompt it executes.
Please help me..I'm struck with my prog.
When I run that command using
system("move H:\gk1\gk1 gk2");
it reports an error that "Bad command or file name" .
I even tried the rename command it give "Invalid path or filename"
The specified folder exists and no other application is using it.
If I run the same command from the command prompt it executes.
Please help me..I'm struck with my prog.