The process cannot access the file because it is being used by...

Page 3 of 4 FirstFirst 1234 LastLast

  1. Posts : 4,161
    Windows 7 Pro-x64
       #21

    BTW back at ya. I've been a system tech since before the Internet existed and I recommend an AV for any one that has an internet connection or exchanges media or files with any one else.
      My Computer


  2. Posts : 16
    Windows 7 Ultimate x64
    Thread Starter
       #22

    @karlsnooks. Awesome. Thank you sir. Will do. But again, only 2 problems with any of my pcs over 10 years speaks for itself.

    Edit: I hear ya carwiz lol.
      My Computer


  3. Posts : 4,161
    Windows 7 Pro-x64
       #23

    1000faces said:
    No not in the sense that you might think. It's an extension the Quake3 engine uses to execute scripts. But in the Windows environment yes so I think that has something to do with it.
    XP never grabbed on to it before like this though.
    I just checked. SRC type files are also associated with MalwareBytes. If you mouse over any scr file in Windows Explorer, it says it's a screen saver no mater what's in the file. Screen saver is part of the user interface--Explorer.exe.
      My Computer


  4. Posts : 16
    Windows 7 Ultimate x64
    Thread Starter
       #24

    Oh no. So, is a dual-boot into XP my only option you think?
      My Computer


  5. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #25

    dual-boot into xp is not needed.

    If you want to edit a windows scr file then use a program designed for that purpose.
      My Computer


  6. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #26

    1000faces said:
    @karlsnooks. Awesome. Thank you sir. Will do. But again, only 2 problems with any of my pcs over 10 years speaks for itself.

    Edit: I hear ya carwiz lol.
    You are obviously far more experienced pro than the rest of us. Could you please teach us?

    Enviously, Kari
      My Computer


  7. Posts : 2,171
    Windows 7 Ultimate x64
       #27

    I've had the understanding that Windows treats scr filetypes as standard executables that it'll use as screensavers. But that goes back to at least the XP days. I'm unsure what MS might have changed over the years.
      My Computer


  8. Posts : 16
    Windows 7 Ultimate x64
    Thread Starter
       #28

    @karlsnooks: Ok..what would you suggest using to edit a .scr file with code for a script to be run by the Quake3 engine besides a text editor? 1000's of scriptors use basic text editors to edit code in .scr files. It's the standard tool devs use. An .scr file extension is not proprietary to Windows and many other programs use it. And as it pertains to the Quake3 engine it is not an executable file. It calls on executable files to initiate among other things. This is obviously in contrast to the properties it has associated with it in the Win7 environment especially with explorer.exe that cause one to be locked. I had no problems working with this on XP.

    Example piece code:


    Code:
    main:
    
        setcvar "g_obj_alliedtext1"  "The Airfield" 
        setcvar "g_obj_alliedtext2" ""
        setcvar "g_obj_alliedtext3" ""
        setcvar "g_obj_axistext1" ""
        setcvar "g_obj_axistext2" ""
        setcvar "g_obj_axistext3" "" 
        setcvar "g_gametype" "2"
        setcvar "timelimit" "15"
        setcvar "sv_walkspeed" "453"
        setcvar "sv_runspeed" "453"
        setcvar "g_gametypestring" "Planes-Jetpacks-Flaks"
        //setcvar "g_scoreboardpic" "textures/mohmenu/briefing/briefing1a.tga"  
        //setcvar "g_scoreboardpic" "textures/mohmenu/briefing/airborne.tga" 
        //setcvar "g_scoreboardpic" "textures/mohmenu/briefing/defeat.tga" 
        //setcvar "g_scoreboardpic" " textures/mohmenu/credits/jeep.tga" 
        setcvar "g_scoreboardpic" "textures/mohmenu/credits/tank.tga" 
        //setcvar "g_scoreboardpic" "textures/mohmenu/credits/p47sfront.tga" 
    
            
            
    level.script = "maps/m1l3b.scr"
    level.clockside=kills
    
    
    exec global/m1l3b_spotlights.scr
    exec global/rescue_spotlight.scr
    exec global/barrel.scr::explosive_barrel
    exec global/ambient.scr m1l3b
    exec global/DMprecache.scr
    exec maps/m1l3b_precache.scr
    
    
    
    
    //======Setup=====>
    
    removeclass Actor
    
    
    level.farplane = 5500
    $world farplane 5500
    //$world farplane_color (.3 .1 .228)
    
    
    $opel1.origin = ( -488 2591 -24 ) 
    $opel1.angle = 97    
    $opel1 nodamage
    $opel1 thread global/vehicles_thinkers.scr::enemy_truck_think 1000000000000 //500
    
    
    
    $opel2.origin = ( -2191 4423 -24 ) 
    $opel2.angle = -25    
    $opel2 nodamage
    $opel2 thread global/vehicles_thinkers.scr::enemy_truck_think 1000000000000 //500
    
    
    
    $opel3.origin = ( 1447 4495 -24 ) 
    $opel3.angle = -164    
    $opel3 nodamage
    $opel3 thread global/vehicles_thinkers.scr::enemy_truck_think 1000000000000 //500
    
    
    $panzer1.origin = ( -502 4915 -24 ) 
    $panzer1.angle = -55
    
    $panzer2.origin = ( 2936 4391 -24 ) 
    $panzer2.angle = -165
    
    
    $playerjeep delete
    //$playerjeep.origin = ( -2545 678 -23.88 )
    //$playerjeep.angle = 11
    
    
    
        
    
    $stuka7 delete
    $stuka1_right_mg delete
    $stuka1_left_mg delete
    $stuka1_right_so delete
    $stuka1_left_so delete    
        
    $stuka1 thread enemy_stuka_think
    $stuka2 thread enemy_stuka_think
    $stuka3 thread enemy_stuka_think
    $stuka4 thread enemy_stuka_think
    $stuka5 thread enemy_stuka_think
    $stuka6 thread enemy_stuka_think
    $stuka8 thread enemy_stuka_think
    $stuka9 thread enemy_stuka_think
    $stuka10 thread enemy_stuka_think
    $stuka11 thread enemy_stuka_think
    $stuka12 thread enemy_stuka_think
    $stuka13 thread enemy_stuka_think        
    
    
    
    waitthread tdm_spawns
    
    
    ///////////////////////
    level waittill prespawn
    ///////////////////////
    
    
    
    level.slowspeed = 200 //was 200 
    level.fastspeed = 400 //was 400
    level.reversespeed = -120 //was -150
    level.lookahead = 256
    @kari: Ha. Funny. I'm just meticulously careful about what I do in regards to where go on the web, email (I use a private server), and what I install. And maybe, just plain lucky too
      My Computer


  9. Posts : 4,161
    Windows 7 Pro-x64
       #29

    Well, this is strange. (Or not) I saved a Java script as a scr file in Komodo Edit then ended. I turned around and opened the file in NotePad and saved with a new name but again with the scr file type. I closed NotePad, waited about a minute then opened the two files again, one at a time. No problem with the files being locked. You just can't "open" the file by right clicking in a Windows Explorer panel because it thinks it's a screen saver and Open, Open With, etc are not options.

    For AV, I am running MSE.
      My Computer


  10. Posts : 2,171
    Windows 7 Ultimate x64
       #30

    carwiz said:
    Well, this is strange. (Or not) I saved a Java script as a scr file in Komodo Edit then ended. I turned around and opened the file in NotePad and saved with a new name but again with the scr file type. I closed NotePad, waited about a minute then opened the two files again, one at a time. No problem with the files being locked. You just can't "open" the file by right clicking in a Windows Explorer panel because it thinks it's a screen saver and Open, Open With, etc are not options.

    For AV, I am running MSE.
    Exactly! You get "test" and "configure" options instead. But that's the way I remember Windows handling scr files since the early XP days. Obviously, something's different on the OP's machine as neither you, nor I, got the lock problem (I just tried the same sort of thing you did).

    I would try and use Resource Monitor or Process Explorer to see what's holding the lock.
      My Computer


 
Page 3 of 4 FirstFirst 1234 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:56.
Find Us