复制文件 [英] copy files

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

问题描述




我使用以下复制代码将所有文件从1个文件夹移动到另一个但我总是收到错误....有人可以告诉我在哪里这段编码出错了。


这里是代码:

Hi,

I am using the following copy code to move all files from 1 folder to another but i always get an error....can someone please tell me where i am going wrong with this piece of coding.

here is the code:

展开 | 选择 | 换行 | 行号

推荐答案

@anfetienne


考虑到错误抱怨没有这样的文件o r目录,我倾向于问:


1. .jpg文件是否存在于显示的路径上。

2.目的地路径(在
@anfetienne
Considering the error complains about "No such file or directory", I would be inclined to ask:

1. Does the .jpg file exist at the path shown.
2. Does the destination path (in the


路径变量中)是否存在?


问候,


Jeff
path variable) exist?

Regards,

Jeff


是的它确实存在.....文件名是


1b.jpg

2b.jpg

3b.jpg等等,位置确实存在。所有文件上传都很好,但它不会复制
yes it does exist.....the file names are

1b.jpg
2b.jpg
3b.jpg etc etc and the location does exist. All the files upload perfectly fine but it just wont copy over


这篇关于复制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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