Can CMD.EXE scripts use Shell Extensions ?
Posted: 26 Aug 2010 10:19
CD %{Environmental Variable}% is good for both XP and Vista when the variable is defined.
CD %LOCALAPPDATA% does not work on XP because by default there is no such Environmental Variable.
What is unknown to DOS is available to XP via Shell Extensions
I believe there are many more "special folders" known to Shell Extensions that are not known to variables.
Is there a way for a CMD.EXE script to use a Shell Extension when no convenient variable exists,
either for targetting a command such as CD,
or for assigning the value to a new temporary environmental variable ?
Regards
Alan
CD %LOCALAPPDATA% does not work on XP because by default there is no such Environmental Variable.
What is unknown to DOS is available to XP via Shell Extensions
I believe there are many more "special folders" known to Shell Extensions that are not known to variables.
Is there a way for a CMD.EXE script to use a Shell Extension when no convenient variable exists,
either for targetting a command such as CD,
or for assigning the value to a new temporary environmental variable ?
Regards
Alan