| | |
Win32API Movefile() Pathname problem
Thread Solved
![]() |
•
•
Join Date: Dec 2008
Posts: 2
Reputation:
Solved Threads: 0
I have a problem with the MoveFile() function of the Win32 API.
I cant move files which are in the same directory as the exe file,if i specify the pathname,it dosent work.I dont know how this function works.Need urgent help.......
I cant move files which are in the same directory as the exe file,if i specify the pathname,it dosent work.I dont know how this function works.Need urgent help.......
C++ Syntax (Toggle Plain Text)
# include<windows.h> # include<iostream.h> int main() { MoveFile("C:\File1.txt","C:\New Folder\File2.txt"); }
Last edited by Ancient Dragon; Dec 10th, 2008 at 2:53 pm. Reason: correct code tags
![]() |
Other Threads in the C++ Forum
- Previous Thread: Assertion Failure???
- Next Thread: Digital Clock in C++
| Thread Tools | Search this Thread |
anyfile api array based binary bitmap c++ c/c++ char class classes code coding compile console conversion count delete deploy desktop developer directshow dll download draw dynamic dynamiccharacterarray email encryption error file forms fstream function functions game gdi+ givemetehcodez gnu graph gui homeworkhelp homeworkhelper http iamthwee ibm ifstream input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node number numbertoword output packing parameter pointer problem program programming project python random read recursion reference rpg string strings temperature template test text text-file tree url variable vector video visualc++ visualizationtoolkit win32 windows winsock word wordfrequency wxwidgets





