Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

04 May 2012   #21
carwiz

Windows 7 Pro-x64
 
 

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 System SpecsSystem Spec
.
04 May 2012   #22
1000faces

Windows 7 Ultimate x64
 
 

@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 System SpecsSystem Spec
04 May 2012   #23
carwiz

Windows 7 Pro-x64
 
 

Quote   Quote: Originally Posted by 1000faces View Post
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 System SpecsSystem Spec
.

04 May 2012   #24
1000faces

Windows 7 Ultimate x64
 
 

Oh no. So, is a dual-boot into XP my only option you think?
My System SpecsSystem Spec
04 May 2012   #25
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

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 System SpecsSystem Spec
04 May 2012   #26
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by 1000faces View Post
@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 System SpecsSystem Spec
04 May 2012   #27
F5ing

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
04 May 2012   #28
1000faces

Windows 7 Ultimate x64
 
 

@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 System SpecsSystem Spec
04 May 2012   #29
carwiz

Windows 7 Pro-x64
 
 

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 System SpecsSystem Spec
04 May 2012   #30
F5ing

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by carwiz View Post
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 System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Custom screensaver file read access right, network access
Hi, I've creates my own custom screensaver (in Visual Studio 12 using WPF), which need access to network for check an weather and email check. I've settings saved in two files. First one is NotifyScreensaver.scr.config, where I've only url to server, from which I take weather informations....
Themes and Styles
Create Dump File - Does It End Process As Well?
Hi, I am currently running Outlook PST File Repair on a computer that file errors. I am past the scanning portion and now repairing. While in task manager, I inadverdantly clicked "Create Dump File". I cancelled this right away. The process is still listed, however the amount of memory...
BSOD Help and Support
File Sharing Process - Win7 and Snow Leopard
It took a lot of web research and experimentation to get file sharing between my Win7 Desktop and MacBook Pro to work the way I wanted it to work. There are a lot of posts on this subject, but many leave out steps or assume a certain level of knowledge that may not exist. For myself, I know a lot...
Network & Sharing
Is it possible to block network access by PID instead of process name?
I'm using Comodo and whenever I select scvhost.exe and block it, the scvhost.exe gets blocked as well. Extremely annoying because, the PID 1004 is required for my DNS to function... websites won't work right without it unless I type the IP address. looks like some sort of Microsuck phone-home...
Network & Sharing
Using bat file to tweak process priority.
Hey everyone, I am at school in a photoshop class and instead of spending 5-10 minutes changing the priority status of some useless programs that run in the background I wanna just use a bat file to do it all for me. Basicly the processes I am turning down are like the dell default programs that...
Performance & Maintenance
Every process has access to free, silent elevation! Proof of concept video
Oh boy. This guy shows that becuase of the way the new UAC whitelist works, it is possible to run any command with elevation and not raise a single UAC prompt! This first video gives some info about how the UAC whitelist works: Win7Elevate v2 proof-of-concept: Video demonstration of Win 7...
News


Our Sites

Site Links

About Us

Find 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 06:45.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App