Solved

How to Delete a PDF file used by another process / Person thriguh MD-DOS Command ?

Posted on 2010-08-20
8
609 Views
Last Modified: 2012-05-10
Hi friends,
I am trying to delete one PDF file, which is using by another Process / Person.

How can i delete this PDF file usign MS-DOS command ?

Thanks.
0
Comment
Question by:SQLNewBieUSA
8 Comments
 
LVL 10

Accepted Solution

by:
jorlando66 earned 500 total points
ID: 33486849
The other person has it open on the network through a share?
disable the share for a moment and use the del command.
0
 
LVL 15

Expert Comment

by:JBond2010
ID: 33486963
From the server if you right on My Computer and select Manage - expand Shared Folders - Open Files. You will see what files are open. If you right click on the file and select disconnect file and this will close the file.

To delete the file form MS Dos you can use these commands:

•cd < directory name>
•cd is the basic DOS command, it allows you to change directory.
•dir [ name of directory]
•dir allows you to list all contents of the specified directory.
•copy <source> <destination>
•Allows you to copy a file from a <source>folder to a <destination folder>.
•del<file>
•delete specific file.
•move <source> <destination>
•Allows you to move a file from a <source>folder to a <destination folder>.
•ren <source> <destination>
•Rename the specified file.
•edit <filename>
•Opens the default DOS editor to allow modification of specified file.
•cls
•Clear DOS screen.
•exit
•Leave the DOS terminal.
0
 
LVL 15

Expert Comment

by:JBond2010
ID: 33487007
Also, from MS DOS you can type tasklist and this will show all running process and pids. Make sure to do this from the server. To end a process type tskill followed by the pid number.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 16

Expert Comment

by:t0t0
ID: 33488893
Have you tried UnLocker?
0
 
LVL 4

Expert Comment

by:griff4345
ID: 33491400
Hi:

Sometimes an app will apply a HOOK to a file and won't let it go for a day. You can go into the server or box where the original file resides and delete it if you have the permissions for that activity. You do that through a DOS COMMAND shell.

Or you can acquire a small app called UnLocker and it will clear the Locks/Hooks for you.

Unlocker 1.8.9 - It's a free file.

Best of luck!
---GRIFF
0
 
LVL 16

Expert Comment

by:t0t0
ID: 33492684
Download Unlocker 1.9.0 from here:


Unlocker 1.9.0    32-bit version        http://www.brothersoft.com/download-unlocker-208761.html

Unlocker 1.9.0    64-bit version        http://www.brothersoft.com/download-unlocker-60547.html

Unlocker 1.9.0    32/64-bit version  http://ccollomb.free.fr/unlocker/unlocker1.9.0-portable.zip


Also, see:  http://ccollomb.free.fr/unlocker/

0
 

Author Closing Comment

by:SQLNewBieUSA
ID: 33706035
solved
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question