
何かのようなもの
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