如IE临时文件夹(Temporary Internet Files)下有文件9.html,但是你查看这个文件的属性时,它的缓存名称却为9[1].html,我如何才能复制这个文件到C盘根目录下?

解决方案 »

  1.   

    当我使用
    filcopy "(省略)\Temporary Internet Files\9.html","c:\9.html"
    filcopy "(省略)\Temporary Internet Files\9[1].html","c:\9.html"时,都说文件未找到,请高手赐教,万分感谢!
      

  2.   

    刚才漏打一个字母e了。当我使用
    filecopy "(省略)\Temporary Internet Files\9.html","c:\9.html"
    filecopy "(省略)\Temporary Internet Files\9[1].html","c:\9.html"时,都说文件未找到,请高手赐教,万分感谢!
      

  3.   

    使用通配符行吗?
    或者作个循环
    for n=0 to 9
    '然后判断文件是否存在
    if dir xxx\temp....\9[" & n & "].html"<>"" then '说明文件存在
    filecopy "(省略)\Temporary Internet Files\9[" & n & "].html","c:\9.html"
    end if
    next
      

  4.   

    楼主的方法不行呀,明明看见文件是9.html,但是查看文件属性时,却见缓存名称为9[1].html下面这两种调用都说无法找到文件,
    filecopy "(省略)\Temporary Internet Files\9.html","c:\9.html"
    filecopy "(省略)\Temporary Internet Files\9[1].html","c:\9.html"顶呀,顶到高手解答出来为止!
      

  5.   

    作个循环
    for n=0 to 9
    '然后判断文件是否存在
    if dir xxx\temp....\9[" & n & "].html"<>"" then '说明文件存在
    filecopy "(省略)\Temporary Internet Files\9[" & n & "].html","c:\9.html"
    end if
    next
      

  6.   

    问题已解决了,在目录Content.IE5下的目录中。