Home

  
 
 

Search Knowledge Base


Knowledge Base Web View
Total Records: 103
ID Title Type Of Article
474 
Windows Startup Folder Location Support
1105 
Word for Windows Training Tips and Tricks Training Resources
1381 
Work Order Task Details Updates to Main Work Order How To
Add New  Records per page  5 of 5   
Engage Knowledge Base Web View         How To          Print
Title Setup Engage BMS Launch Batch File for Engage Startup      
Resolution
@echo off

:: Define variables
set "destinationPath=%USERPROFILE%\SCVersion10"

del "%userprofile%\scversion10\*.laccdb" > NUL
del "%userprofile%\scversion10\*.accde" > NUL
del "%userprofile%\scversion10\*.rar" > NUL

:: Delete existing registry keys (if they exist)
reg delete "HKCU\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location2" /f >nul 2>&1
reg delete "HKCU\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location3" /f >nul 2>&1
reg delete "HKCU\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location4" /f >nul 2>&1

:: Create the registry keys with new values
reg add "HKCU\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location2" /v "Path" /t REG_SZ /d "C:\Program Files\Microsoft Office\root\Office16\ACCWIZ\" /f >nul 2>&1
reg add "HKCU\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location2" /v "Description" /t REG_SZ /d "Access default location: Wizard Databases" /f >nul 2>&1
reg add "HKCU\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location3" /v "AllowSubfolders" /t REG_DWORD /d 0x00000001 /f >nul 2>&1
reg add "HKCU\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location3" /v "Path" /t REG_SZ /d "%sourceUNC%" /f >nul 2>&1
reg add "HKCU\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location4" /v "AllowSubfolders" /t REG_DWORD /d 0x00000001 /f >nul 2>&1
reg add "HKCU\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\Location4" /v "Path" /t REG_SZ /d "%destinationPath%" /f >nul 2>&1

:: Create destination directory if it doesn't exist (suppressing prompts)
mkdir "%destinationPath%" >nul 2>&1

:: Copy EngageBMS.accde from network drive to local destination
xcopy "C:\Users\Public\SCVersion10\EngageBMS.accde" "%destinationPath%\" /Y >nul 2>&1

:: Start Access for EngageBMS.accde
start "" "C:\Program Files\Microsoft Office\root\Office16\Msaccess.exe" /nostartup "%destinationPath%\EngageBMS.accde" >nul 2>&1

@echo off
TIMEOUT /T 5 /NOBREAK

@echo off
start Outlook.exe /recycle
Vendor Engagement Software, LLC
Web Link
Date Entered 1/29/2024
You Tube Link
Type Of Article How To
Article ID 1404


  Copyright    Lietz Development, Inc. 1996. All Rights Reserved.