Announcement

Collapse

Maintenance

The forum could be offline for 30-60 minutes in the very near future for maintenance (said 3pm Pacific). I was behind on getting this notice. I do apologize.
See more
See less

permission denied to open a file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • permission denied to open a file

    I had to use cntrl alt delete to end out of a loop with
    a random file open. Now when I run my program again, I get
    a "permission denied" message when I try to open the file.
    Is there an easy way to fix this problem?
    I tried opening the file with access read write, but did not
    help any.

    ------------------

  • #2
    Probably the operating system has locked the file and you
    will need to reboot the computer in order for the lock
    to be released.



    ------------------
    Paul Squires
    www.planetsquires.com
    mailto:[email protected][email protected]</A>
    Paul Squires
    FireFly Visual Designer (for PowerBASIC Windows 10+)
    Version 3 now available.
    http://www.planetsquires.com

    Comment


    • #3
      Originally posted by Paul Squires:
      Probably the operating system has locked the file and you
      will need to reboot the computer in order for the lock
      to be released.

      Thanks, Paul. In frustration, I did reboot and it freed up the
      file. I did determine that the directory itself seemed to have
      the lock, not the file itself. I could not open any of my data
      files in that directory. Error 70 has to do with write protected
      disk.

      John


      ------------------

      Comment

      Working...
      X