Home Page › Forums › Free Resources › Kill Daz. :D
- This topic has 3 replies, 3 voices, and was last updated 2 years, 9 months ago by Abad.
-
AuthorPosts
-
April 13, 2022 at 9:23 am #1795384
Surely, DS hangs on you many times. Other times, you close it, and it continues to be active in "processes", deleting I don't know what the hell... And it can take minutes: More than desired.
I offer you this script (Put it in the "scripts" folder of your shared directory, although it is simply a bat file, I have passed it to exe to be able to put it in the taskbar. Windows systems only. Perhaps the antivirus will tell you that it is malware: False positive. If not, copy the kill.bat to desktop, and fixed...)
We are in a hurry! Just kill DS! 😀
https://www.mediafire.com/file/xmpsxigza97g81b/Kill_DAZ.zip/fileApril 15, 2022 at 12:27 am #1796133I know Daz hangs around in the background for about a minute for me. Do you know what it's doing?
I'm wondering whether Daz is doing something important in the background. Freeing up allocated RAM, for example. I appreciate you posting this killswitch, but are there any downsides to ending Daz early?
April 15, 2022 at 3:20 am #1796165Thanks Abad. DS hangs in processes all the time when I close unless it's an extremely light scene. I generally just close DS and kill the process before I open again. I'll give your script a go... thanks again.
April 15, 2022 at 4:52 pm #1796347@enjoyify
Nothing! 😀
In C:/Users/YOURUSERNAME/AppData/Roaming/DAZ 3D/dson/cache better clear.
Copy this as text, and rename KilCacheDaz.vbs
--------------------' Set up the scripting environment
Option Explicit
Const oSrc = "C:\Users\YOURUSERNAMECHANGETHIS\AppData\Roaming\DAZ 3D\dson\cache\data"
Dim Text, Title
Dim WSH, FSO, oFolders, oFolder, oSubFolders ' Object variables
Dim oFileCount, oFolderCount, oFiles, oCount
Text = "Folders" & vbCrLf & vbCrLf
' Dialog title (inc. vanity bit)
Title = "CacheDAZ File Deleter"' Create Windows Scripting Host Shell object
Set WSH = WScript.CreateObject("WScript.Shell")
' Create FileSystem object to access the file system.
Set FSO = WScript.CreateObject("Scripting.FileSystemObject")'Delete the folder (forcibly, to handle read-only attributes) then re-create it
FSO.DeleteFolder oSrc,True
FSO.CreateFolder oSrc'Free memory used by objects
Set WSH = Nothing
Set FSO = NothingWScript.Quit()
-----------------------
Then apply in shutdown scripts in policy editor.
https://i.postimg.cc/7LGbfGNM/uuuuuu.png -
AuthorPosts
- You must be logged in to reply to this topic.