How to use mp3tag info to open folder in destination lister?

ok, thx i did it :slight_smile:

via
"Abusing" Rename Scripts to do other things with file info

@leo - could you please have a lock!

The script is working fine by my noob-standards :wink: but only if the artist name consists of one word :frowning:

[code]@script vbscript
Option Explicit

Function Rename_GetNewName(strFileName, strFilePath, fIsFolder, strOldName, ByRef strNewName)

Dim strInfoArray
Dim strCommand 

Dim Shell
Set Shell = CreateObject("WScript.Shell") 

' The strNewName is given the mp3artist tag info
strInfoArray = strNewName

DOpus.OutputString "The artist is " & strInfoArray

    strCommand = "dopusrt /Cmd GO I:\metal\"& strInfoArray &" OPENINDEST"

Shell.Run strCommand,0,false 

' Set strNewName to an empty string so that Opus does not rename the file.
strNewName = ""

End Function [/code]