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. 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...
  3. 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...
  4. Command Line Questions

    in Windows 10 Ask Insider
    Command Line Questions: Trying to make a batch file with options to download, unzip & then run the exe file. I know how to download with authentication to a specific location. but how to I unzip as well? is it a separate command? I may have a few questions regarding this batch file I'm writing so if...
  5. 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/
  6. command line repair

    in Windows 10 Installation and Upgrade
    command line repair: Hello I use sfc and chkdsk regularly on people's computers. I know chkdsk checks and repairs the file system, and sfc checks and repairs system files. Is there one over the other that should be run first? Like sfc then chkdsk or the opposite? Also I heard using dism to...
  7. 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
  8. 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...
  9. 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...
  10. Windows Command-Line: The Evolution of the Windows Command-Line

    in Windows 10 News
    Windows Command-Line: The Evolution of the Windows Command-Line: Welcome to the second post in this "Windows Command-Line" series. In this post we'll discuss some of the background & history behind the Windows Command-Line. Specifically, we’ll explore its humble origins in MS-DOS, to its modern-day incarnation supporting tools like...