1.    04 Jan 2016 #1
    Join Date : Sep 2015
    Posts : 260
    Windows 10

    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 ComputerSystem Spec
  2.    04 Jan 2016 #2
    Join Date : Sep 2015
    Posts : 260
    Windows 10
    Thread Starter

    Did Google search with no luck, what could I be doing wrong?
      My ComputerSystem Spec
  3.    04 Jan 2016 #3
    Join Date : Aug 2015
    Penn's Woods
    Posts : 1,288
    Windows 10 Home

    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 19:37. Reason: Fixed a typo.
      My ComputerSystem Spec
  4.    04 Jan 2016 #4
    Join Date : Sep 2015
    Posts : 260
    Windows 10
    Thread Starter

    Thanks Word Man you were exactly right. Had to add .ext at end of file.
      My ComputerSystem Spec
  5.    04 Jan 2016 #5
    Join Date : Aug 2015
    Penn's Woods
    Posts : 1,288
    Windows 10 Home

    Quote Originally Posted by zplugger View Post
    Thanks Word Man you were exactly right. Had to add .ext at end of file.
    Cool. Glad I could help!
      My ComputerSystem Spec
  6.    04 Jan 2016 #6
    Join Date : Jun 2015
    Posts : 1,929
    Windows 3.1 to Windows 10

    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 ComputerSystem Spec

 


Similar Threads
Thread Forum
App doesnt open through a batch file
Chaps... I have a desktop running with a few apps 24/7 feeding to a network, on the rare occasion it drops or restarts due to some update or power outage I thought I could write a simple batchfile just to restart everything automatically. ...
Software and Apps
Need Help Creating Batch file to speed up Windows 10
I've been working to get some speed back on my laptop but I haven't been able to understand where or how I can get the text that needs to be pasted in the .bat file. I've looked and looked and can't find a clear answer anywhere.
Performance & Maintenance
Start a program from a batch file
I'm trying to create a batch file that should - call another batch file - start a program and then wait for the program to close - call another batch file My goal with this is to work around an issue in Windows 10 where the screensaver won't...
Software and Apps
System Info Batch File
Hi Everyone, I thought it may be interesting to get input from others regarding this batch file. I was hoping for suggestions about: Information to add to the report. Ways of making the current code more efficient. Etc... A while back i...
Chillout Room
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 20:41.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums