Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-opus-4-20250514-thinking-16k· AnthropicHugging Face LMArena Human Preference 140K

특정 파일을 다른 경로로 복사하는 배치파일

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Geminigemini-2.5-pro’s answer.
  1. User

    특정 파일을 다른 경로로 복사하는 배치파일

  2. Claude Assistant

    Windows 배치 파일에서 파일을 복사하는 기본적인 방법을 보여드리겠습니다.

    기본 파일 복사

    @echo off
    copy "원본파일경로" "대상경로"
    pause
    

    실제 예시

    @echo off
    copy "C:\Users\Documents\file.txt" "D:\Backup\"
    echo 파일 복사가 완료되었습니다.
    pause
    

    더 많은 옵션

    @echo off
    :: 덮어쓰기 확인 없이 복사
    copy /Y "C:\source\file.txt" "D:\destination\"
    
    :: 여러 파일 복사 (와일드카드 사용)
    copy "C:\source\*.txt" "D:\destination\"
    
    :: 하위 폴더까지 포함해서 복사
    xcopy "C:\source\*.*" "D:\destination\" /S /E /Y
    
    :: 폴더 전체 복사 (robocopy 사용)
    robocopy "C:\source" "D:\destination" /E
    

    복사 명령어 비교

    • copy: 단순 파일 복사
    • xcopy: 폴더 구조까지 복사 가능
    • robocopy: 가장 강력한 복사 도구 (Windows Vista 이상)

    배치 파일을 .bat 확장자로 저장하고 실행하면 됩니다. 경로에 공백이 있다면 반드시 큰따옴표로 감싸주세요.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.