moveFile 질문.
누리별
2023.04.01
My.Computer.FileSystem.MoveFile(Application.StartupPath & \test.dll, Application.StartupPath & \test\test.dll)이런식으로, EXE가 있는 폴더의 test.dll 을 EXE가 있는 곳의 test폴더에 test.dll 로 넣을려 할때test 폴더에 이미 test.dll 이 있을경우 오류가 발생합니다. 자동으로 덮어씌우기 어떻게 합니까?
-
터전
흠.. 그렇게 하기에는 좀 그래서요
-
백합
파일의 유무를 체크하신후 삭제하시고 나서 옮기시는건 어떠십니까 ?