Results 1 to 10 of 10

Thread: How to delete a file through command prompt ?

  1. #1
    Join Date
    Jun 2009
    Posts
    3

    How to delete a file through command prompt ?

    I try to delete file from desktop but it still it display on my computer. Error deleting file or folder Can not delete file: the file specified verify that the path and file name specified are correct.

    Now i want to try to delete from command prompt. Is anyone know how delete a file through command prompt ?

    Thanks

  2. #2
    Join Date
    Nov 2008
    Posts
    47

    Re: How to delete a file through command prompt ?

    Click "Start - Run and type" cmd "to open a command prompt window.

    Navigate to the directory where the "undeletable" file, with 'cd' command. Ie cd c: \ Documents and Settings \ My Documents \ undeletablefilename.

    Use the 'del' command to delete the file. Ie del 'undeletablefilename'.

    Restart your computer.

  3. #3
    Join Date
    Dec 2008
    Posts
    98

    Re: How to delete a file through command prompt ?

    Open a Command Prompt window
    - Type CD \
    (Visit the root of the drive)
    - If the file containing the page that is on C:, go to the drive the file: eg
    - Type E:
    - Type CD <<folder name>>
    (to go to the file)
    - Type DIR / X
    (for a list of files with the center said the name 'short name')
    This name is usually 1 or ~ ~ 2 at the end

    This name should be used with the suppression file:
    DEL <<file name>>

  4. #4
    Join Date
    Jan 2009
    Posts
    29

    Re: How to delete a file through command prompt ?

    A few other very useful commands that you might have to end with are listed below:

    Chkdsk - Checks a disk or a floppy disk for file system integrity.
    Copy - Copies files from one place to another. The aim of the current directory by default. If there are multiple source files, the destination directory, otherwise you get an error message.
    Rk - Compares two files or groups of files and displays the differences between them
    Fdisk - manipulate disk partition tables. After starting from the command line, it displays a menu from which various partitioning operations.
    Format - Delete all files on the hard drive and format it for MS-DOS. Use primarily for formatting floppy disks or other removable media.
    Scandisk - Diagnostic Disk Utility, which is a replacement for the CHKDSK utility.
    SFC - System File Checker - Scans all protected system files and replaces incorrect versions with the correct file versions.

  5. #5
    Join Date
    Dec 2008
    Posts
    106

    Re: How to delete a file through command prompt ?

    I had the same problem, a *. avi file, I was not able to remove file. I followed the advice given above answers, open the DOS prompt, type "del filename".

  6. #6
    Join Date
    Sep 2011
    Posts
    2

    Re: How to delete a file through command prompt ?

    I locked my file with Folder Lock Software.
    Now I can't delete (even can't open the file using the software) the file. Is there any solution to delete the file using command prompt or any other procedure. Plz a prompt reply is required

  7. #7
    Join Date
    Dec 2007
    Posts
    2,291

    Re: How to delete a file through command prompt ?

    Quote Originally Posted by mrupom View Post
    I locked my file with Folder Lock Software.
    Now I can't delete (even can't open the file using the software) the file. Is there any solution to delete the file using command prompt or any other procedure. Plz a prompt reply is required
    Download a tool from Krojam Soft by searching it from google that will help you to delete that particular locked file, it also deletes files/folders with long path using File / Folder Clean-Up Tool (Path too long). Key features:
    • Delete files and folder with long paths
    • Ability to delete files from mapped network folders
    • Copy files avoiding "The filename you specified is invalid or too long. Specify a different filename" error

  8. #8
    Join Date
    Sep 2011
    Posts
    2

    Folder Lock Software not Running & Can't Delete the Locked Files

    I am using the Folder Lock Version 5.2.6 & I know the lock password. My folder lock software is not running (Error Message: Windows can't access the specified device, path or file. You may not have the appropriate permission to access the item). I can't delete the locked folder unless the Folder Lock Software runs. Please give any solution asap.

  9. #9
    Join Date
    Dec 2007
    Posts
    1,736

    Re: Folder Lock Software not Running & Can't Delete the Locked Files

    Quote Originally Posted by mrupom View Post
    I am using the Folder Lock Version 5.2.6 & I know the lock password. My folder lock software is not running (Error Message: Windows can't access the specified device, path or file. You may not have the appropriate permission to access the item). I can't delete the locked folder unless the Folder Lock Software runs. Please give any solution asap.
    Alright, so you mean to say that you know the password but its just the Folder Lock software that is not working properly. So, havent you tried to uninstall and reinstall the Folder Lock software and checked after that if you can put the password and unlock the file? If you havent so, they try it and let us know the results.

  10. #10
    Join Date
    Oct 2011
    Posts
    1

    Re: How to delete a file through command prompt ?

    I need to delete a file on a shared folder on a network. The tricky part is that it has restricted permissions preventing this. Is there a way to delete it with out a program using cmd prompt. If so, how would I find the path to the networked file?

Similar Threads

  1. How to Delete Video Drivers from Command Prompt
    By Aamin in forum Windows Software
    Replies: 3
    Last Post: 06-04-2009, 01:36 PM
  2. about the command prompt
    By Gorganzola in forum Windows Software
    Replies: 2
    Last Post: 17-10-2008, 06:24 PM
  3. Can't Rename a File Using WinXP Command Prompt!!!
    By Kaalan in forum Windows XP Support
    Replies: 2
    Last Post: 02-05-2008, 05:14 PM
  4. How to delete folder from the command prompt?
    By Jack in forum Vista Help
    Replies: 7
    Last Post: 07-03-2008, 11:13 AM
  5. Command prompt "COPY" command not working in brand new Windows Vis
    By CMD COPY command not working in Vista in forum Vista Help
    Replies: 7
    Last Post: 06-02-2008, 02:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,653,581.64194 seconds with 16 queries