Saved Bookmarks
| 1. |
Solve : How can i allow a batch file administrator permission?? |
|
Answer» I developed a batch file on xp that will add text to a file. When i RUN the batch file on vista or windows 7 it says "ACCES is denied". My question is, is there anyway to either bypass this to ALLOW access, or simply ask the user permission.i think it is a file permission problem but you can right click command prompt click run as administrator and type the name of your batch file (you MAY NEED to cd to the correct directory)Or just run your batch file as Admin. (Right click it)Yea i thought of that, see the problem with that is the program autoruns off the cd, id rather not have to tell the user to navigate throughout the cd to find the file then choose administrator. Is there anyway to make the program as the user for permission. I was thinking of making it an .exe file, im pretty sure windows will then ask the user for permission when it autoruns. |
|