Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello,
I am trying to run a batch file to simply copy a network config.pro file to my local machine. I am learning that Windows 7 does not like this idea. I made a shortcut on my desktop and tried to run that shortcut as Admin and that didn't help. When I run the below batch files I get "Access Denied". I do have rights to write to my local directory, that was the first thing I checked.
CODE:
copy /Y "R:\somewhere on the network\config.sup" "C:\Program Files\proeWildfire 5.0\text\config.sup"
copy /Y "R:\somewhere on the network\config.pro" "C:\Program Files\proeWildfire 5.0\text\config.pro"
copy /Y "R:\somewhere on the network\univer_splash.gif" "C:\Program Files\proeWildfire 5.0\text\resource\univer_splash.gif"
call "C:\Program Files\proeWildfire 5.0\bin\proe.exe"
This should be easy, but....
Thanks,
James
I suspect that you are encountering Windows DEP; do some Googling and you will discover many discussions on the subject...
The solution is to either disable it (at your own risk) or find a method to execute the "copy" command as Administrator.
Good LucK!