@Tom-Elliott Try with the path starting with %~dp0
. For example:
/c dism.exe /online /import-defaultappassociations:%~dp0\appassoc.xml
That variable will map to the current drive and path. If the appassoc.xml
file is in the same folder as where FOG is running the command, it should auto-expand and auto-escape the characters (i.e. spaces).