Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / New Users / June 2005

Tip: Looking for answers? Try searching our database.

Need help with a batch file problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don J - 30 Jun 2005 03:10 GMT
I run a specific batch file at startup that attempts to copy a file to
replace one that is under control of a running program.  I get the message
"The process cannot access the file because it is being used by another
process."   How do I successfully write the file?  I know that the way you
are supposed to do it is to close the program, make the transfer then
restart the program.  But how do you do that when you don't know the program
and you don't know how it starts in the first place.

                                           Don J

-----------------------------------------------------------------
Rick \ - 30 Jun 2005 11:49 GMT
Hi,

Download filemon from www.sysinternals.com to figure out what program or
process is controlling the file. A batch file in the startup folder runs
very late in the startup routine, you may need to change your strategy to
affect the file before it comes into use.

Signature

Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Associate Expert - WindowsXP Expert Zone
www.microsoft.com/windowsxp/expertzone
Windows help - www.rickrogers.org

>I run a specific batch file at startup that attempts to copy a file to
>replace one that is under control of a running program.  I get the message
[quoted text clipped - 7 lines]
>
> -----------------------------------------------------------------
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.