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

PowerShell: Get Date Taken Value of a Photo or Video

This function only deals with photos. Videos, such as MOV files, have an attribute called…

Troubleshooting Active Directory Replication Issues

How to Check Domain Controller Syncronization Check replication summary [TEST-DC02]: PS C:\Users\testadmin\Documents> Repadmin /replsummary Replication…

PowerShell: Create User Accounts From CSV File

# User-input Variables $csvFile='C:\Users-finalized.csv' $newOu='CN=Users,DC=kimconnect,DC=com' $newCompany='Kim Connect' $logFile="c:\temp\createActiveDirectoryAccounts-$(get-date -f yyyy-mm-dd-hh-mm-ss).txt" function createActiveDirectoryAccounts{ param( $csvFile, $newOu,…