英文:
how can i delete a file with wrong path, created by java program
问题
如何删除一个由Java程序创建的文件。我有一个名为con.txt
的文件,位于一个目录中,这个文件是我学习Java语言之前创建的。但是当我尝试打开这个文件时出现了问题(可能是路径),记事本显示'无法找到\\. \ con.txt
',是否要创建新文件''。我尝试创建一个新文件,但是新文件和旧文件仍然存在。你能告诉我如何删除这个文件吗?非常感谢。
英文:
How can I delete a file made up of a java program. I have a file named con.txt
located in a directory, this file is made up of before, when I learned java language. But something is wrong (probably the path) when I try to open the file then notepad display 'can not file \\. \ con.txt
, do you want create new file ''. I try to create a new file but create a new one and the old file still exists. Can you show me how to delete this file, thank you very much
答案1
得分: 0
删除整个程序文件夹。
你可以尝试使用第三方软件来完成这个任务。
英文:
Delete the entire program folder.
You may want to try using third-party software for that.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论