For “active” DRAWING , need macro : pack & go & zip ( zip is a built in Solidworks pack&go function – see enclosed pic).
Something like this :
but zipped . The zip filename should be the same as DRAWING file name.
See: IPackandGo.GetSaveToName and IPackandGo.SetSaveToName
The macro/option sin this post might be helpful: Pack and go macro -->without old number
Retrieving data ...