

InterviewSolution
Saved Bookmarks
1. |
Solve : file lock? |
Answer» <html><body><p>Hi.<br/>Problem description: an application <a href="https://interviewquestions.tuteehub.com/tag/uses-722152" style="font-weight:bold;" target="_blank" title="Click to know more about USES">USES</a> 2 directories, let's say A and B. <br/>When I choose option 1, the application will load data from A. <br/>If I choose the option 2, the application has to rename A to C and B to A. It loads data from A. Now, I have the directories A and C.<br/>If I choose again the first option it has to rename A to B and C to A. It should load data from A. Now, there are directories A and B.<br/><br/>The problem is that the application does not work <a href="https://interviewquestions.tuteehub.com/tag/well-734398" style="font-weight:bold;" target="_blank" title="Click to know more about WELL">WELL</a>. For example, if I choose option 2, close application, start application and choose option 1, it will not rename those directories, and it will not find the ritght data. The application starts with a menu from where I choose the option, so, to change the option I have to restart the application.<br/> If I restart the computer I can safely choose the other option, it works fine. But it is time consuming...<br/>I can't rename those directories if I don't restart the computer ("file is locked"; in fact, A is locked -- I made a .bat file to rename the directories, but when A is locked the .bat file moves the other <a href="https://interviewquestions.tuteehub.com/tag/directory-11615" style="font-weight:bold;" target="_blank" title="Click to know more about DIRECTORY">DIRECTORY</a> in A and that is not good) .<br/>I tried to see modifications in registry, but I am probably too clumsy... I have seen <a href="https://interviewquestions.tuteehub.com/tag/nothing-581732" style="font-weight:bold;" target="_blank" title="Click to know more about NOTHING">NOTHING</a>...<br/>I used process explorer to see what files uses that application... It didn't helped. I strongly believe that the answer is in Windows registry, but I don't know how to solve it yet.<br/>How can I find what files are locked and by "my" applicaton? How can I unlock them?Is this winxp......is the file sharing option enabled.....Viking:<br/><br/>What is the name of the application are you using?<br/><br/>What is designed to do?<br/><br/>DocWindows XP, Windows 2000, the same problem. These directories are not shared, they are used by a local aplication (local to every computer; the directories exist on every computer).<br/>I can't tell you the application name. Firm policy... I can't tell you what she has to do... The same policy. Let's say it does many things... ("My name is Bond... James Bond" ) But basically, the application works as I said in my first <a href="https://interviewquestions.tuteehub.com/tag/post-2638" style="font-weight:bold;" target="_blank" title="Click to know more about POST">POST</a> here.<br/>How can I find the list of locked files in Windows? Maybe the menu launches a process that does not shut down gracefully and locks the directory. I have not found an application that will list the applications and their file usage in a period of time, I found only applications that offer an image, at a given momentum (when I double click). <br/>If the application belongs to the firm you work for, is there no administrator you can contact?</p></body></html> | |