Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: HELP error (cannot be performed on a file with a user-mapped section open. )  (Read 5612 times)

0 Members and 1 Guest are viewing this topic.

WEW

    Topic Starter


    Rookie

    I am running Win xp pro. I am trying to copy a blank index.dat file into my tempory internet \content.ie5 folder. I have the following line in my batch file.(xcopy /r /y /k c:\batch\blanki~1\index.dat C:\DOCUME~1\WILLIA~1\LOCALS~1\tempor~1\content.ie5) I get the error message  (file creation error - The requested operation cannot be performed on a file with a user-mapped section open. am i missing a switch or an additional command. I thought I may be getting the error message because i had windows explorer open, but sent a shortcut to the batch file to the desktop. that didn't help either. is there any way around this without logging on as another user or administrator?   any help would be greatly appreciated... WEW ???
    « Last Edit: September 22, 2007, 10:27:32 AM by WEW »

    contrex

    • Guest
    Re: getting error message when trying to copy with batch file
    « Reply #1 on: September 17, 2007, 02:30:59 AM »
    Why not just delete the existing index.dat and let Windows create a new one?

    There are tools available to let you do this. Just let Google be your friend.


    ghostdog74



      Specialist

      Thanked: 27
      Re: getting error message when trying to copy with batch file
      « Reply #2 on: September 17, 2007, 03:35:41 AM »
      I think you have permission problem copying to that folder.

      WEW

        Topic Starter


        Rookie

        Re: getting error message when trying to copy with batch file
        « Reply #3 on: September 18, 2007, 09:05:03 PM »
        Thanks to both of you....
        I have reset the folder for full permissions, but this does seem to be a windows protected folder as in when u reset the permissions it seems to let u,,, then close explorer and reopen they will be back the way they were before resetting them. I have ran a program that will remove the index.dat file but it only does it one time. I have edited the registry to run my batch file every time the pc boots. I have several command lines that clean my pc each time it starts. for example... temp internet files you know the ones. This way my pc is cleaned every startup...I hate the thought of having to go through pc and having to check to see if files are stored from websites i visited a month ago, week ago,, 3 days ago...if i can get this working it should keep pc cleaned out on restarts.. Windows seems to move these folders and contents... as in one time i restart i might go look in the temp/inet folder might be full of files... NO index.dat or content.ie5 folder... next time u reboot might have the content.ie5 folder with big index.dat file in it.. I can put all the command lines on here if u think it would help... but the other lines work... juts the one i have problems with....