Found the problem. It's in the last line of the script. I had originally said to change the last line to:
start /d "C:\Program Files\Electronic Arts\The Sims 3\Game\Bin\TS3W.exe"
However, I didn't realize I had mis-placed the final quote on the line. It should read:
start /d "C:\Program Files\Electronic Arts\The Sims 3\Game\Bin\" TS3W.exe
for 32-bit systems, and:
start /d "C:\Program Files (x86)\Electronic Arts\The Sims 3\Game\Bin\" TS3W.exe
for 64-bit systems. Sorry for the confusion my error caused.
You can also use the %USERPROFILE% variable in the
del to make a script that will delete the cache files for the current profile. Useful if you have more than one logon for your Windows machine. The script would look like this:
@echo off
del "%USERPROFILE%\My Documents\Electronic Arts\The Sims 3\CASPartCache.package"
del "%USERPROFILE%\My Documents\Electronic Arts\The Sims 3\scriptCache.package"
del "%USERPROFILE%\My Documents\Electronic Arts\The Sims 3\compositorCache.package"
del "%USERPROFILE%\My Documents\Electronic Arts\The Sims 3\simCompositorCache.package"
start /d "C:\Program Files (x86)\Electronic Arts\The Sims 3\Game\Bin\" TS3W.exe
Hope this helps and happy Simming.
Flynn