Hi dwalsh and Jerold,
Sorry to interrupt in this thread. I have one Excel File (Let say
sandra.xls) that I shared on a network. But when I opened the file, it said
"sandra.xls" is locked for editing by Poh, Sandra. (That is me).
I tried the method via command prompt as mentioned below.
01) Mapped my network to a drive (namely S: drive).
02) Open command prompt.
03) Change the current drive to network drive S: drive.
04) Change the folder path that I want to go (for eg, S:\SANDRA\)
05) Type in the syntax NET FILE.
- Problem: It says "There are not entries in the list."
06) I also tried to type the syntax NET FILE SANDRA.xls
- Problem: It says "NET FILE [id [/CLOSE]].
07) I also tried to type NET FILE SANDRA.xls /CLOSE.
- Problem: It says "NET FILE [id [/CLOSE]].
Pls advise where have I gone wrong and what to do next?
Regards
Sandra Poh
Post by dwalshThanks so much for your help, I got it to work.
Post by Jerold SchulmanPost by dwalshThanks, but I am confused. Should the syntax be netfile/"the name of the
file"?
Post by Jerold SchulmanPost by dwalshI am running an internal app is visual studio and sometimes a file gets
locked by the processes even though it is no longer in use. Is there a
utility out there to unlock a locked file so that another processes can take
control of it?
Open a CMD.EXE windows and type
net file /?
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
no.
Type net file and get a list of open files, with teir ID
Then
net file ID /CLOSE
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com