timbo343 Posted December 2, 2020 Author Posted December 2, 2020 There is no _Install.cmd file... All I see are the following folders/files: [ATTACH=CONFIG]60018[/ATTACH] The .cmd file contains the following: :: Do not use this batch file with SCCM @echo off setlocal enabledelayedexpansion set SCRIPTDIR=%~dp0 set SCRIPTDIR=%SCRIPTDIR:~0,-1% IF EXIST "%SystemRoot%\System32\WhoAmI.exe" ( WhoAmI /priv | find "SeImpersonatePrivilege" >NUL || color 4f && echo. && echo This script must be run from an elevated command prompt. && echo. && pause && exit /b ) start "" /wait "%SCRIPTDIR%\Deploy-Application.exe" Install 1
CallMeMonks Posted December 3, 2020 Posted December 3, 2020 The .cmd file contains the following: :: Do not use this batch file with SCCM @[u][url="http://www.edugeek.net/member.php?u=16971"]echo[/url][/u] off setlocal enabledelayedexpansion set SCRIPTDIR=%~dp0 set SCRIPTDIR=%SCRIPTDIR:~0,-1% IF EXIST "%SystemRoot%\System32\WhoAmI.exe" ( WhoAmI /priv | find "SeImpersonatePrivilege" >NUL || color 4f && echo. && echo This script must be run from an elevated command prompt. && echo. && pause && exit /b ) start "" /wait "%SCRIPTDIR%\Deploy-Application.exe" Install Amazing, thank you. That worked a treat!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now