Hi,
I've created several .cmd files in order to do some maintenance. On of this script is reading a file which is located in %APPDATA%. I discovered that %APPDATA% is not available when i scheduled this script
(Os is Windows 2003) Scheduling this script with "CMD /K" instead of calling this script directly didn't solve the problem.
I created a solution for this by replacing %APPDATA% with "%USERPROFILE%\Application data", but I was wondering if this is a known issue? Are there other solutions?
I've created several .cmd files in order to do some maintenance. On of this script is reading a file which is located in %APPDATA%. I discovered that %APPDATA% is not available when i scheduled this script

I created a solution for this by replacing %APPDATA% with "%USERPROFILE%\Application data", but I was wondering if this is a known issue? Are there other solutions?