Posted On March 29, 2019

How to Install ‘Compass’ Program

kimconnect 0 comments
blog.KimConnect.com >> Windows >> How to Install ‘Compass’ Program
Copy Compass from \\FILE02\Apps\Compass to C:\Compass
Script:
Create shortcut on desktop with target of: C:\Compass\OMNIS7.EXE agy2000.lbr
install_compass.bat:
————-
@echo off
robocopy \\srvifile02\ISI\sys1\Compass c:\compass /E /R:0 /NP
set SCRIPT=”%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs”
echo Set oWS = WScript.CreateObject(“WScript.Shell”) >> %SCRIPT%
echo sLinkFile = “%USERPROFILE%\Desktop\myshortcut.lnk” >> %SCRIPT%
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT%
echo oLink.TargetPath = “C:\Compass\OMNIS7.EXE” >> %SCRIPT%
echo oLink.Save >> %SCRIPT%
cscript %SCRIPT%
del %SCRIPT%
exit

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How To Create a Windows Scheduled Task to Call a Program or Script

Example on How To Call a Program: Set Action = Start a Program Set Program/Script…

Exchange 2007 Staged Migration to Office 365

Intro: Exchange 2003 or 2007 is so old that detailed instructions would only be useful…

An Exercise in Discover Whether an Active Directory Account Has RDP Access to Windows Bastion Hosts

Check Computers: $computernames='RDPSERVER01','RDPSERVER02','RDPSERVER03' invoke-command -computername $computernames {get-localgroupmember 'remote desktop users'}|select PSComputername,Name # Sample output PS…
Other project: DragonCoin.com