Please can you explain or better make tutorial how to lunch bat file like admin. Then I execute bat file normally it's opens without problem. Then I pushing right mouse button and choosing run as administrator bat immediately closing. I tried create shortcut and through properties ->advanced check run as admin, but again same shit. Please explain as easiest as possible. Thank you so much!!!!
At the end of your batch file add this line:
This line will make your batch file pause until you hit a key so you can see what is going on. Your problem is likely that you're getting an error of some sort and the batch file is closing immediately (probably due to the fact that with administrative rights the commands are executed from a different path. See the picture for what I mean. If this is your problem just use an absolute path instead of a relative path.)