在网络驱动器上的间接复制 [英] indirect copy on a network drive

查看:101
本文介绍了在网络驱动器上的间接复制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。



我正在尝试使用cmd Line复制文件。



我在本地磁盘上复制它以下命令工作原理:



C:\> copy \1\\\\\\\\\\\\\\\\\\\\\\ txt



如果我在映射的网络驱动器上尝试相同的线路它失败



如果我尝试相同的命令,但没有内部文件夹



工作原理:

T:\> COPY A.TXT B.TXT


我如何复制带有网络存储器内部文件夹的说明?



谢谢



Dj4400

Hi.

I am Trying To Copy A file using The cmd Line.

When I copy It on The local disk The Following command Works:

C:\>copy \1\a.txt \1\b.txt

If I try The Same Line on a mapped Network drive It Fails

If I try The Same Command but without The inner folders

It works :
T:\>COPY A.TXT B.TXT

How Can I Copy With directions to Inner Folders On A Network Drine ?

Thanks

Dj4400

推荐答案

如评论中所述,这看起来不像是一个C / C ++问题。



我的猜测是网络驱动器没有足够的访问权限来写入它。问题是网络驱动器上的目录(或文件)所有权或文件保护。
As noted in comments, this doesn''t look like a C/C++ problem.

My guess is that the network drive has insufficient access for you to write to it. The problem is either directory (or file) ownership or file protection on the network drive.


似乎所需的语法

是。

命令:

T:\> copy。\\\\\。txt。\\\ b.txt



作品。

但是我是

我当然不明白为什么......
It appears that the required syntax
Is With "."
The command:
T:\>copy .\1\a.txt .\1\b.txt

Works.
However i Am
Not Sure I Understand Why...


这篇关于在网络驱动器上的间接复制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆