DFS isn't *required* for map rooting - it is one of two possible ways to do it. You can either set up DFS, in which case

use g: \\server\share\subfolder

will work, OR you shell to cmd.exe and use the 'subst' command:

shell '%COMSPEC% /c subst g: "\\server\share\subfolder"'