How does Windows XP perform file locking (and how to remove the lock)

O

Orak Listalavostok

C:\Temp>copy flashABC.tmp foo.swf
The process cannot access the file because it is being used by another
process.
0 file(s) copied.

CASE HISTORY:
a) I visit a web page & click on macromedia flash *.swf content
b) The movie plays while (apparently) being downloaded to C:\Temp
c) I can't "access" the file while Netscape 7.1 is preoccupied

DESIRED ACTION:
a) All I want is to save the desired temporary file as a flash swf
b) I tried the DOS copy command (after using "attrib -s -h -r -a")
c) I searched the system registry (don't know what to look for)

Given that a file lock handle (whatever that means) exists in Windows
XP SP2, how would one purposefully remove, as administrator, that file
locking handle without accidentally deleting the desired file to be
saved?

Or, taken from another angle:
What is the proper method to SAVE a macromedia flash swf file?
 
V

VManes

Multimedia files are often persnickety like that, the player (even if you're
not playing it) doesn't release the file until you open another one.
So in the easy case, just start playing some other file.
If that doesn't do it, you may need to do a reboot to get the player to
release the file. That's worked for me more than a few times, drastic as it
is.
Val
--
Bringing you BeadWizard Design Software
www.beadwizard.com
***************************
Practice safe eating -- always use condiments.
***************************

C:\Temp>copy flashABC.tmp foo.swf
The process cannot access the file because it is being used by another
process.
0 file(s) copied.

CASE HISTORY:
a) I visit a web page & click on macromedia flash *.swf content
b) The movie plays while (apparently) being downloaded to C:\Temp
c) I can't "access" the file while Netscape 7.1 is preoccupied

DESIRED ACTION:
a) All I want is to save the desired temporary file as a flash swf
b) I tried the DOS copy command (after using "attrib -s -h -r -a")
c) I searched the system registry (don't know what to look for)

Given that a file lock handle (whatever that means) exists in Windows
XP SP2, how would one purposefully remove, as administrator, that file
locking handle without accidentally deleting the desired file to be
saved?

Or, taken from another angle:
What is the proper method to SAVE a macromedia flash swf file?
 
L

Lord Cleveland Pedgehitch-Parrywater

Orak Listalavostok, the suctorial, heavy impacted tooth and dustman,
throbbed:


|
| Or, taken from another angle:
| What is the proper method to SAVE a macromedia flash swf file?

I just locate the file in my temporary internet files folder and copy, then
paste to my desired directory.

Of course, that won't work for silly cunts who use Netscape.

--
For my own part, I have never had a thought which I could not set down
in words with even more distinctness than that with which I conceived
it. There is, however, a class of fancies of exquisite delicacy which
are not thoughts, and to which as yet I have found it absolutely
impossible to adapt to language. These fancies arise in the soul, alas
how rarely. Only at epochs of most intense tranquillity, when the
bodily and mental health are in perfection. And at those weird points
of time, where the confines of the waking world blend with the world of
dreams. And so I captured this fancy, where all that we see, or seem,
is but a dream within a dream.
 
B

Bonnie Stantini

"Lord Cleveland Pedgehitch-Parrywater"
I just locate the file in my temporary internet files folder and copy, then
paste to my desired directory.

Of course, that won't work for silly cunts who use Netscape.

Lord Cleveland obviously missed the point.
What you need to do is understand Windows (which all the respondents
so far have proven they do not).

Go do the system registry (regedit) and modify the lock string.
Specifically remove the edit lock.
All will be well for you in Windows land (I know, I understand
Windows).

Another way to accomplish the same task is to go into the Netscape
plugins direcotry (typically C:\Program Files\Netscape\Plugins and
hexedit either the flashplayer.xpt file or the Shockwave NPSWS32.dll
file.

I know the edit of the flash shockwave NPSWS32.dll file best.
Look for the first instance of C:\Temp and change it to some other
directory.
That's all you need to do.
Now when Netscape downloads the flash file it will download to this
new directory. Best of all, neither Netscape or Macromedia know
anything about this.

The result is that your flash files just keep piling up in your new
directory.
Short. Simple. Sweet.

Bonnie Stantini
PS Nobody who posted above knows anything about Windows so put them
all in your killfile if you haven't already.
 
B

Brian

Go do the system registry (regedit) and modify the lock string.
Specifically remove the edit lock.
All will be well for you in Windows land (I know, I understand
Windows).

Another way to accomplish the same task is to go into the Netscape
plugins direcotry (typically C:\Program Files\Netscape\Plugins and
hexedit either the flashplayer.xpt file or the Shockwave NPSWS32.dll
file.

I know the edit of the flash shockwave NPSWS32.dll file best.
Look for the first instance of C:\Temp and change it to some other
directory.
That's all you need to do.
Now when Netscape downloads the flash file it will download to this
new directory. Best of all, neither Netscape or Macromedia know
anything about this.

The result is that your flash files just keep piling up in your new
directory.
Short. Simple. Sweet.

Bonnie Stantini

Why does it have to be this complicated? My mother would like a
computer but i can't imagine trying to work her through it and solving
the problems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top