Token creation

Is it possible to create a token directly from the active.Document.path with a change of the extension. In other words, can we specify what we want in a token so we don’t have to navigate all around the computer drives for each open file we want to save where it came from with a different format.
If it’s impossible, it should be considered.