The batch file is stored in a user folder on disk C and I am the owner of the file and have full control. There is no problem with the file itself and the commands all execute properly when - and only when - I execute the file from within a command window.Įxecuting the batch file (or the shortcut) from Windows Explorer just opens a command window but does not run the commands within the batch file.Īfter reading other questions and answers in various forums, I thought at one time it may be linked to the option "run as administrator" and I do have the same problem as other people in not being able to set the "run as administrator" flag on the shortcut (using the properties): the flag is unchecked and greyed out. I am logged in as an administrator and I work on the PC as administrator all the time. No, the option "Run as administrator" is not in the menu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |