• Post Reply Bookmark Topic Watch Topic
  • New Topic

Created File cannot be Deleted

 
Steve Dyke
Ranch Hand
Posts: 1722
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I use code to create a file the file cannot be deleted with code. There are no exceptions thrown. If I manually create the file if delets fine.

My create code:



My delete code:

 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your delete code deletes the file and then recreates it.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!