d2jsp
Log InRegister
d2jsp Forums > Diablo II > Diablo 2 Discussion > Cmd Command To Shutdown D2r ?
Add Reply New Topic New Poll
Member
Posts: 4,215
Joined: Jun 8 2008
Gold: 100.00
Oct 17 2021 03:41pm
Hello,

i heard about a way to instantly shut down d2r by setting up a cmd command with windows.

I play in HC and I see too many deaths around me with all these multiple crashes ...

Someone knows more ?
Member
Posts: 6,036
Joined: Mar 6 2009
Gold: 0.01
Warn: 50%
Oct 17 2021 08:47pm
alt-f4 not good enough?
Member
Posts: 4,215
Joined: Jun 8 2008
Gold: 100.00
Oct 18 2021 10:37am
Nop, in certain cases, the game have sort of big freez and alt-f4 doesnt work. :(
Member
Posts: 6,990
Joined: Apr 16 2019
Gold: 50.00
Oct 18 2021 10:46am
A simple solution would create a windows bat file that you can assign to a hotkey or something and run it with the press of a button to terminate / force close an application.

Open a Command Prompt Window and type this in

Code
tasklist | more


And then search for the Diablo II: Resurrected item and find its PID

The PID should stay the same, always even if you open and close the app.

Take that PID and create a new Notepad on your desktop and put in this text. ( you MAY need to enclose the PID in ", I don't think so but doing this from memory so if it doesn't work, just do that )

Code
taskkill /f /im XXXXXXXXXXXXXXXXXXXXX


Replace the X's with the PID

And then click "File" -> "Save As" and change the file type to "All Files" and then name is "Force Quit.bat" and then you can assign whatever software you want to run that bat file.

This post was edited by 3oDAtlas on Oct 18 2021 10:48am
Go Back To Diablo 2 Discussion Topic List
Add Reply New Topic New Poll