evanbooth
New member
- Joined
- Mar 17, 2009
- Messages
- 3
- Programming Experience
- 5-10
Hey,
I'm running a small piece of code during the startup of my application that checks the version number of a matching file on a mapped network drive against the current version of the executable running. If the exe on the network drive is newer, it runs a separate application that copies the network version over and relaunches the application. This setup works flawlessly in XP, but it's giving me the following error in Vista and Window 7:
"Could not find part of path: (path to executable)"
The problem is, I can copy and paste the path in the error into the "run" dialog, and the path is valid. It's a simple path and filename, so escape characters should not be the issue. An example path might be: H:\deploy_directory\exeName.exe
Everything is running as admin. Any idea why this is happening?
I'm running a small piece of code during the startup of my application that checks the version number of a matching file on a mapped network drive against the current version of the executable running. If the exe on the network drive is newer, it runs a separate application that copies the network version over and relaunches the application. This setup works flawlessly in XP, but it's giving me the following error in Vista and Window 7:
"Could not find part of path: (path to executable)"
The problem is, I can copy and paste the path in the error into the "run" dialog, and the path is valid. It's a simple path and filename, so escape characters should not be the issue. An example path might be: H:\deploy_directory\exeName.exe
Everything is running as admin. Any idea why this is happening?