file permissions

This is a discussion on file permissions within the Windows Programming forums, part of the Platform Specific Boards category; There is a file without any permissions for sharing (reading/writing) for other processes. How can I read the file anyway? ...

  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    11

    file permissions

    There is a file without any permissions for sharing (reading/writing) for other processes. How can I read the file anyway? I need to copy the file but can not open it because it is being used by another process.
    Platform: Windows XP

  2. #2
    Registered User
    Join Date
    Jun 2007
    Posts
    219
    Just Restart your PC or run chkdsk in dos the MsgBox being used by another process will dissapear.
    ---------------
    I might be wrong as I am a Noob

  3. #3
    Registered User
    Join Date
    Jun 2007
    Posts
    11
    Quote Originally Posted by noobcpp View Post
    Just Restart your PC or run chkdsk in dos the MsgBox being used by another process will dissapear.
    ---------------
    I might be wrong as I am a Noob
    That's a nice idea, but not working in this case ... It's a temporary file created by firefox and when i close it, tmp-file will be deleted. So what's now?

  4. #4
    Registered User
    Join Date
    Jun 2007
    Posts
    219
    Do you use Single OS ??
    or Dual Boot ??

  5. #5
    Registered User
    Join Date
    Jun 2007
    Posts
    11
    Quote Originally Posted by noobcpp View Post
    Do you use Single OS ??
    or Dual Boot ??
    I've got only one OS. I guess Dual Boot is when you can choose which OS to start? When it's so, how could it help me in this situation? As soon as I restart my PC (even earlier) the temporary file would be deleted. Or is Dual Boot something different?

  6. #6
    Registered User
    Join Date
    Jun 2007
    Posts
    219
    yes you are right
    If you have Dual Boot then
    enter using different OS and see that File Press delete it will get deleted
    cause that file were not affecting that OS you have just entered.

    I've 2 GB full of files in my /media/Software although its FAT and Files Kpt there is By Windows on windows
    I cant even do anything with those files from windows
    whwn I've entered there with linux I can easily Copy them To another Drive or Pen dirve then Regain it. or delete it
    -----------------------------------------------------
    Enter in safe mode
    End all unnecessary Process
    Ewnd All processes from Firefox
    then Use/delete it.
    Last edited by noobcpp; 06-30-2007 at 10:42 AM.

  7. #7
    CSharpener vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,484
    then Use/delete it.
    The problem is not deleting file, because it is deleted automatically after the program that created it exits...

    How can I read the file anyway?
    There are file managers able to copy files opened for writing...
    I'm using Far (by default this feature is disabled, but there is a corresponding checkbox in the configuration). I suppose there are others... I think it can solve the problem.

    PS. If the qustion is about programming - you should specify it. Becuase as is - it should be on the Tech board, not here
    The first 90% of a project takes 90% of the time,
    the last 10% takes the other 90% of the time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems passing a file pointer to functions
    By smitchell in forum C Programming
    Replies: 4
    Last Post: 09-30-2008, 03:29 PM
  2. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 02:19 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  4. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 04:30 PM
  5. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 04:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21