asp中调用winrar.exe压缩文件时,为什么在windows 2003 server 下执行时不能增加文件到一个已经存在的xx.rar文件中?而XP可以。

perli 2007-11-02 05:34:17
asp中调用winrar.exe压缩文件时,为什么在windows 2003 server 下执行时不能增加文件到一个已经存在的xx.rar文件中?而XP可以。
代码如下:
RarSoftWarePath 'winrar.exe 路径,RarFilePath已有的压缩文件路径,Fpath=被压缩文件路径, aorx=a
sub rar(RarSoftWarePath,RarFilePath,FPath,aorx) 'rar过程
set shell=server.createobject( "wscript.shell ")
rarcmd= " " " "&RarSoftWarePath& " " " "&aorx& " -t -o+ "
shcmd=rarcmd& " " " "&RarFilePath& " " " " " "&FPath& " " " "
shell.run shcmd,0,true
set shell=nothing
end sub
...全文
88 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
Croatia 2007-11-22
  • 打赏
  • 举报
回复
好多回答,就不重复了。
cn_lyfang 2007-11-21
  • 打赏
  • 举报
回复
ls
cow8063 2007-11-19
  • 打赏
  • 举报
回复
权限问题
iamybj 2007-11-04
  • 打赏
  • 举报
回复
权限问题
tronic 2007-11-04
  • 打赏
  • 举报
回复
检查一下权限
蒋晟 2007-11-04
  • 打赏
  • 举报
回复
用FileMon看看
XP和2003中的IIS使用的用户身份不一样
tantaiyizu 2007-11-02
  • 打赏
  • 举报
回复

指令错误吧

或者时没有权限?

8,327

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 IIS
社区管理员
  • IIS
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧