Writhing Batch File


  1. Posts : 304
    Windows 10
       #1

    Writhing Batch File


    Here is my batch file but it will not delete the file? Must be missing something

    del "C:\Users\Larry\AppData\Local\TractorParts\tractor\ConfigSetting"
    Trying to delete the ConfigSetting File
      My Computer


  2. Posts : 304
    Windows 10
    Thread Starter
       #2

    Did Google search with no luck, what could I be doing wrong?
      My Computer


  3. Posts : 1,567
    Windows 10 Pro
       #3

    It's probably a .bat extension and you are not seeing that because of how File Explorer is set. Try this: del "C:\Users\Larry\AppData\Local\TractorParts\tractor\ConfigSetting.bat"

    If it's not a .bat file, click the view tab in File Explorer and set options to show file extensions. If it's not obvious how, you can check out this tutorial of Brink's which serves as well for Win10: http://www.eightforums.com/tutorials...ndows-8-a.html
    Last edited by Word Man; 04 Jan 2016 at 18:37. Reason: Fixed a typo.
      My Computer


  4. Posts : 304
    Windows 10
    Thread Starter
       #4

    Thanks Word Man you were exactly right. Had to add .ext at end of file.
      My Computer


  5. Posts : 1,567
    Windows 10 Pro
       #5

    zplugger said:
    Thanks Word Man you were exactly right. Had to add .ext at end of file.
    Cool. Glad I could help!
      My Computer


  6. Posts : 3,865
    Windows 3.1 to Windows 10
       #6

    since this is solved > just for other then...

    will delete the directory > del "C:\Users\Larry\AppData\Local\TractorParts\tractor\ConfigSetting"
    have to add the extension if > Trying to delete the ConfigSetting.File
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 17:25.
Find Us




Windows 10 Forums