Folder - Delete from Command Prompt

Page 8 of 11 FirstFirst ... 678910 ... LastLast

  1. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #70

    Add the pause command to the file. This is what your batch file should look like --
    Code:
    rd /s /q \\?\%1
    pause
      My Computer


  2. Posts : 16
    windows 7 ultimate x64
       #71

    well that sorted it, thanks alot, i dont know what the bat file does but it took it off, i rebooted to make sure it was gone and its no more.
    thanks so much to all that helped me.
    Ill recommend this site to others from the forums im on having the same issue
      My Computer


  3. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #72

    englishbob1 said:
    well that sorted it, thanks alot, i dont know what the bat file does but it took it off
    Batch files work the devil. That's all you should know ...

    englishbob1 said:
    i rebooted to make sure it was gone and its no more.
    Yea, um, perhaps I should have directed you to "restart explorer" too, after executing the batch file.

    englishbob1 said:
    thanks so much to all that helped me.
    You're welcome, and welcome to Seven Forums.

    englishbob1 said:
    Ill recommend this site to others from the forums im on having the same issue
    Yes, about that ... you suggest others experience the same issue when downloading this certain file(/folder)? That's very odd and should never happen.

    Englishbob, before you go, would you, by any chance, be able to kindly link us to this download so that the exact problem can be identified, and a solution to the very source of the problem can be made?
      My Computer


  4. Posts : 16
    windows 7 ultimate x64
       #73

    i just checked whoever uploaded it has now taken it down, but ill keep an eye out for anyone else with the issue
      My Computer


  5. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #74

    englishbob1 said:
    i just checked whoever uploaded it has now taken it down
    Strange.

    englishbob1 said:
    but ill keep an eye out for anyone else with the issue
    Great.

    If you hand anyone the batch file, do make sure you instruct them to delete it after. You wouldn't want to be held responsible for any accidental deletions they make or giving them "malicious code".
      My Computer


  6. Posts : 16
    windows 7 ultimate x64
       #75

    ok will do
    thanks again
      My Computer


  7. Posts : 7
    Windows 8 64 bit
       #76

    I seem to be having an issue with deleting a set of two empty folders I created. When I try to delete them, it tells me I need administrator permission. I tried using the batch file method, and it said "Access is denied". I found an administrator command prompt (Windows key + A + X on Windows 8). Should I try deleting it using that? Also, would you like screenshots of my problem? If so, just tell me the best way to do screenshots.
      My Computer


  8. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #77

    Hello Basil, and welcome to Seven Forums. :)

    Yep, using the command in an elevated command prompt would give you the needed elevated rights.

    Elevated Command Prompt
      My Computer


  9. Posts : 7
    Windows 8 64 bit
       #78

    Ok then. Should I document any of this or is it good?
      My Computer


  10. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #79

    Should all be the same other than using an elevated command prompt instead.
      My Computer


 
Page 8 of 11 FirstFirst ... 678910 ... LastLast

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

© Designer Media Ltd
All times are GMT -5. The time now is 18:56.
Find Us