Kill Daz. :D

Home Page Forums Free Resources Kill Daz. :D

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1795384
    Abad
    Participant
    Rank: Rank 5

    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/file

    #1796133
    enjoyify
    Participant
    Rank: Rank 6

    I 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?

    #1796165
    Frank21
    Participant
    Rank: Rank 5

    Thanks 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.

    #1796347
    Abad
    Participant
    Rank: Rank 5

    @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 = Nothing

    WScript.Quit()

    -----------------------
    Then apply in shutdown scripts in policy editor.
    https://i.postimg.cc/7LGbfGNM/uuuuuu.png

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

 

Post You Might Like