locked
Command Prompt command needed. RRS feed

  • Question

  • I want to know how to stop services and delete files via command prompt. If you know any other useful commands then please share. Thanks
    • Moved by Mr. Wharty Thursday, October 25, 2012 7:16 AM Not a training and certification question (From:Training and Certification)
    Thursday, October 25, 2012 5:27 AM

Answers

All replies

  • The command to stop a service is "NET STOP nameOfService", and to delete a file is "DEL nameOfFile".

    But this Training and Certification  forum is not the adequate place to ask such questions. I suggest one of the end-user Windows forums in Microsoft Answers:

    http://answers.microsoft.com/en-us/windows

    Or perhaps, if you need more complex commands, the scripting forums at Technet:

    http://social.technet.microsoft.com/Forums/en-US/category/scripting

    • Proposed as answer by Mr. Wharty Thursday, October 25, 2012 7:14 AM
    • Marked as answer by Neo Xiong Thursday, October 25, 2012 11:22 PM
    Thursday, October 25, 2012 6:28 AM
  • Thanks for posting on the MSDN forums.

    This is a Microsoft Training and Certification forum and unfortunately it does not deal with issues raised in your question.  Given this, your question will be moved to the Off-topic forum.

    Please try posting your question on one of the forums provided by Alberto


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    Jeff Wharton
    MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCITP, MCDBA
    Blog: Mr. Wharty's Ramblings
    Twitter: @Mr_Wharty
    MC ID: Microsoft Transcript

    Thursday, October 25, 2012 7:15 AM