Some portable softwares have sub-folders named like %AppData%
i.e. percent char in the name.
Portable Adobe Photoshop CS3 Standard (folder structure)
_ CSDATA
__ %AppData%
___ Adobe
____ Adobe Photoshop CS3
_____ Adobe Photoshop CS3 Settings
_____ - Actions Palette.psp (19.65 kilobyte)
_____ - Adobe Photoshop CS3 Prefs.psp (152.14 kilobyte)
_____ - Color Settings.csf (712.23 kilobyte)
_____ - LaunchEndFlag.psp (12 bytes)
_____ - PluginCache.psp (798.37 kilobyte)
How to access this path:
C:\Program Files\Adobe\PHOTOSHOP\CSDATA\%AppData%\Adobe\Adobe Photoshop CS3\Adobe Photoshop CS3 Settings
using commands like:
Code: Select all
dir
cd
xcopy
?
Another problem: %AppData% is a predefined variable.
echo %AppData%
outputs
C:\Documents and Settings\sam\Application Data
Thanks
mytest.bat
Code: Select all
@ECHO OFF
SET Folder=C:\Program Files\Adobe\PHOTOSHOP\CSDATA\%AppData%\Adobe\Adobe Photoshop CS3\Adobe Photoshop CS3 Settings
CD "%Folder%"
DIR "%Folder%"
Pause