%~dp0 resolves to the full path of the folder in which the batch script resides. If %OS%=64BIT runas /user:Administrator %~dp0\vcredist_圆4.exe /q /norestartĬhecking if system is 32bit of 64bit is taken from here ( batch file to check 64bit or 32bit OS) If %OS%=32BIT runas /user:Administrator %~dp0\vcredist_x86.exe /q /norestart Reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |