명령줄에서 내 컴퓨터의 파일을 다른 컴퓨터로 어떻게 복사할 수 있나요?

명령줄에서 내 컴퓨터의 파일을 다른 컴퓨터로 어떻게 복사할 수 있나요?

같은 것

cp \\target_machine local_file.txt c:\dest_file.txt

답변1

적절한 권한이 있다고 가정하면 다음과 같이 할 수 있습니다.

copy local_file.txt \\target_machine\c$\dest_file.txt

원격 시스템의 C 드라이브를 참조하려면 "c$"를 사용하십시오.

답변2

그것은 다음과 같다:

copy c:\local_path\local_file.txt \\target_machine\destination_path\destination_file.txt

\\target_machine\destination_path\예를 들어 네트워크 드라이브에 매핑 한 경우 Z: 명령은 다음과 같습니다 .

copy c:\local_path\local_file.txt Z:\destination_file.txt

관련 정보