Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2b7bdf9

Browse files
authored
Create Install.bat
1 parent 352f2a0 commit 2b7bdf9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

‎VBA/Install.bat‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
@ECHO OFF
2+
3+
REM
4+
REM |--------------------------------------------------------------------------------------------------------------------
5+
REM | Purpose: Generic Install
6+
REM |
7+
REM | Ver. Date Author Details
8+
REM | 1.00 27-NOV-2017 Anthony Duguid Initial version.
9+
REM |--------------------------------------------------------------------------------------------------------------------*/
10+
11+
12+
REM
13+
REM /E = Copies directories and subdirectories, including empty ones. Same as /S /E. May be used to modify /T.
14+
REM /D:m-d-y = Copies files changed on or after the specified date.
15+
REM If no date is given, copies only those files whose source time is newer than the destination time.
16+
REM /K = Copies attributes. Normal Xcopy will reset read-only attributes.
17+
REM /Q = Does not display file names while copying.
18+
REM /R = Overwrites read-only files.
19+
REM /Y = Suppresses prompting to confirm you want to overwrite an existing destination file.
20+
REM
21+
22+
REM Copy the install directory and sub-directories
23+
REM XCOPY ".\SourceControl.xlam" "%AppData%\Microsoft\AddIns\SourceControl.xlam" /E /K /Q /R /Y /D
24+
XCOPY ".\SourceControl.xlam" "%AppData%\Microsoft\Excel\XLSTART\SourceControl.xlam" /E /K /Q /R /Y /D
25+
REM XCOPY ".\SourceControl.xlam" "%AppData%\Roaming\Microsoft\Excel\XLSTART\SourceControl.xlam" /E /K /Q /R /Y /D

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /