Windows 10: Deleting files with command line

Discus and support Deleting files with command line in Windows 10 Network and Sharing to solve the problem; I used del filename and it was successfully deleted. I also used dir to double check. However, when I checked the Recycle Bin; the file wasn't found... Discussion in 'Windows 10 Network and Sharing' started by Purity8, Jan 23, 2020.

  1. Purity8 Win User

    Deleting files with command line


    I used del filename and it was successfully deleted. I also used dir to double check. However, when I checked the Recycle Bin; the file wasn't found inside. Was this file permanently deleted?

    :)
     
    Purity8, Jan 23, 2020
    #1
  2. Naki Win User

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile Deleting files with command line :)
     
  3. ryanly Win User
    GPU-Z what command line parameter ?

    Current /? (-?) or / help (-help) parameter is invalid
     
    ryanly, Jan 23, 2020
    #3
  4. Deleting files with command line

    Windows 10 Command-line sxstrace.exe.tool

    Hi Rhonda,

    Thank you for posting your query in Microsoft Community.

    This error may happen due to system file corruption or Visual C++ redistributable package corruption. I suggest you to follow the below given methods:

    Download and install Microsoft Visual C++ 2013 Redistributable Package
    from below given link and check if it helps:

    Visual C++ Redistributable Packages for Visual Studio 2013


    Download Visual C++ Redistributable Packages for Visual Studio 2013 from Official Microsoft Download Center

    I suggest you to run System file checker. System File checker (SFC) scan is done to check if there are any corrupted system files that could be causing this issue. Kindly follow the below given steps:

    • Press Windows key + X, select
      Command prompt (Admin)
      to bring up elevated Command prompt.
    • In Command prompt type sfc/scannow and press enter.
    • Restart the computer.
    If no corrupted system files were found in the previous state, then I suggest you to try the following steps:

    • Open command prompt by pressing Windows key + X and selecting “Command prompt admin”.
    • In command prompt, type the following commands and press Enter after each command:
    DISM.exe /Online /Cleanup-image /Scanhealth

    DISM.exe /Online /Cleanup-image /Restorehealth

    • Close the command prompt and restart the PC and check if it works.

    Hope this information helps.
     
    SujataMoktan, Jan 23, 2020
    #4
Thema:

Deleting files with command line

Loading...
  1. Deleting files with command line - Similar Threads - Deleting files command

  2. Open a program and it's data file with command line command

    in Windows 10 Gaming
    Open a program and it's data file with command line command: Been a long time since I used MSDOS-style syntax to create a batch file or edit a shortcut path. Could use some help.Would like to edit the path of a shortcut .lnk create a batch file don't know which one is best to run Microsoft Money Plus C:\Program Files x86\Microsoft...
  3. Open a program and it's data file with command line command

    in Windows 10 Software and Apps
    Open a program and it's data file with command line command: Been a long time since I used MSDOS-style syntax to create a batch file or edit a shortcut path. Could use some help.Would like to edit the path of a shortcut .lnk create a batch file don't know which one is best to run Microsoft Money Plus C:\Program Files x86\Microsoft...
  4. Command line commands

    in Windows 10 Customization
    Command line commands: I would like to create a shortcut on the desktop using a command in a .bat file. I would like to specify what icon file to use, what program to execute, and the parameters to pass to the program. I have researched MKLINK but I don't think it will do the job. Any...
  5. Command Line

    in Windows 10 Network and Sharing
    Command Line: I am attempting to copy and entire directory from one HDD to another, by keep getting an error of "Invalid umber of parameters." The file path to the Directory is as follows: G:\Users\USERNAME\Desktop\OLD OS FOLDER The destination folder is C:\OLDOS Can someone PLEASE...
  6. Command Line command question

    in Windows 10 Network and Sharing
    Command Line command question: I created a folder on my computer with a ampersand, name & name2 Recently I needed to access this folder but the ampersand prevented me from accessing using the 'cd' from the root c:\ Would someone be so kind to provide me with the syntax I need? I realize now I should...
  7. Command Line

    in Windows 10 Ask Insider
    Command Line: My command line shows a different name when im the only user on the pc. submitted by /u/Fuadop [link] [comments] https://www.reddit.com/r/Windows10/comments/hv4f7i/command_line/
  8. Command Line

    in Windows 10 Support
    Command Line: Is there a command line entry that will help check and repair drivers, and .dll's files. Or a way to have W10 (1909) repair/replace Only whats corrupt or missing? 148659
  9. Command Line

    in Windows 10 Network and Sharing
    Command Line: Hello sir. I am using windows 10 64bit. Earlier the netsat command use to work but it doesnt work now. whenever i try this command it displa an error. C:\>netstat 'netstat' is not recognized as an internal or external command, operable program or batch file. i have tried...
  10. Running a Command Line Command From a File Automatically

    in Windows 10 Installation and Upgrade
    Running a Command Line Command From a File Automatically: I have the following commands which need to be run in the command line: sc.exe config wuauserv start= disabled sc.exe stop wuauserv I want to create a file which, when launched, opens the command line, sends the above commands to the command line, and then closes the...