谁能解释我为什么在IO操作中会发生此错误? [英] Could any one explain me why this error was occuring while doing in IO operations?

查看:80
本文介绍了谁能解释我为什么在IO操作中会发生此错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有一个小型Windows应用程序,已在此 http://justlikeamagic.wordpress.com/2009/03/27/programmatically-compress-and-decompress-files/. [ ^ ]在此,我想压缩sample.txt文件.
但是遇到此错误时,请对此提供帮助
拒绝访问路径"C:\ Documents and Settings \ hemanth.vemu \ Desktop \ Compress"."

hi everyone ,I have a small windows app which was given in this http://justlikeamagic.wordpress.com/2009/03/27/programmatically-compress-and-decompress-files/.[^]In this i wanna to compress a sample.txt file.
But am getting this error please help me regarding this
"Access to the path ''C:\Documents and Settings\hemanth.vemu\Desktop\Compress'' is denied."

推荐答案

您的路径应为
C:\ Documents and Settings \ hemanth.vemu \ Desktop \ Compress \ sample.txt.
您还需要在路径中添加文件名.
Your path should be
C:\Documents and Settings\hemanth.vemu\Desktop\Compress\sample.txt.
U need to add the file name also to ur path.


这篇关于谁能解释我为什么在IO操作中会发生此错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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