|
I am in a program called cyberpatriots and I was wondering how do you delete files and disable services via command prompt. |
|
to delete a file using windows command prompt either browse to the directory using "CD" (change directory) commands search through the directory using the "DIR /P/W" command when you find the file use the DEL command. for example if you want to delete a file called "file.txt" type "DEL file.txt" this will only work if you are in the directory where file.txt is. If you are not in the same directory but you know the path you can type the path for example if file.txt is on your desktop type: DEL "C:UsersUserNameDesktopFile.txt" stopping a service is quite simple. you can either disable the auto startup of a service using the following command: sc config "SERVICE NAME HERE start= disabled (without quotes) Or Stop a Service using the following command: sc stop "SERVICE NAME HERE" (without quotes) Hope this helps! |
