Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2010-08-20
8
Medium Priority
?
640 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 10

Accepted Solution

by:
jorlando66 earned 1500 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
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…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

604 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