Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello everyone
This is my first post, I wish i will have some luck with this
we have installed Adobe Acrobat Pro 9 on 3 Pcs in the office today
we are getting this Error when we try to launch the software
"Microsoft Visual C++ Debug Library
Runtime Error!
Program: C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe
The application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. "after troubleshooting for hours we found a solution which involves editing 2 registry keys .. it must be done before lunching the application or it will not work
so want I want to do, is to create a batch file that can be added to the login script so it can be done automatically without user awareness
the registry keys that need to be chnaged
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
a string value "AppData" chnage the current value to C:\Adobe
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
a string value "AppData" chnage the current value to C:\Adobe
I created a batch file but I did not have luck runing it (every time i try to run it I get this error "Invalid command-line parameters" )my batch file
REG DELETE HKCU\Software\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders /v AppData
REG ADD HKCU\Software\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders /v AppData /t REG_SZ /d C:\Adobe
REG DELETE HKCU\Software\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders /v AppData
REG ADD HKCU\Software\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders /v AppData /t REG_SZ /d C:\Adobe
pausePlease advice
Thank you

I don't understand why you want to run the script at every login. After the first run the registry is modified forever.
Anyway you have to embrace the key definitions by double quores (") as they contain spaces, so
REG DELETE "HKCU\Software\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v AppData
REG ADD "HKCU\Software\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v AppData /t REG_SZ /d C:\Adobe
REG DELETE "HKCU\Software\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v AppData
REG ADD "HKCU\Software\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v AppData /t REG_SZ /d C:\Adobe

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |