在写文件夹或者上传文件时判断一下文件夹的路径结束符号是不是“/”

这样可以做到对应的文件夹选择。

If Right(PicSavePath,1)<>"/" Then PicSavePath=PicSavePath&"/"