Skip to content

Commit 80f5af7

Browse files
authored
Add files via upload
1 parent 3ed9c34 commit 80f5af7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1246
-0
lines changed

files/ApplicationInstall.bat

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
@ECHO OFF
2+
3+
REM
4+
REM |--------------------------------------------------------------------------------------------------------------------
5+
REM | Purpose: Install for application
6+
REM |
7+
REM | Ver. Date Author Details
8+
REM | 1.00 22 MAY 2008 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+
NET USE s: \\servername\sharedfolder$
22+
REM Copy the install directory and sub-directories
23+
XCOPY "S:\App\*.*" "C:\Local\App\*.*" /E /K /Q /R /Y /D
24+
25+
26+
REM create the shortcuts
27+
COPY "s:\App\ShortcutLink.lnk" "%ALLUSERSPROFILE%\Desktop"
28+
29+
30+
REM Register the direct link libraries
31+
REGSVR32 /s "C:\Local\App\Library1.dll"
32+
REGSVR32 /s "C:\Local\App\Library2.dll"
33+
REGSVR32 /s "C:\Local\App\Library3.dll"
34+
REGSVR32 /s "C:\Local\App\Library4.dll"
35+
36+
37+
REM start application
38+
start "" "C:\Local\App\App.exe" "Application Name Here"

files/BOOTDISK.BAT

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
@echo off
2+
3+
set DefFloppyDrive1=A:
4+
set DefFloppyDrive1_L=a:
5+
set DefFloppyDrive2=B:
6+
set DefFloppyDrive2_L=b:
7+
8+
set DefFloppyDrive=%1
9+
10+
cls
11+
12+
:CHECK
13+
if not exist EBD\NUL goto NODIR
14+
15+
if "%1"=="/?" GOTO USAGE
16+
17+
if "%1"=="%DefFloppyDrive1%" goto FORMAT
18+
19+
if "%1"=="%DefFloppyDrive1_L%" goto FORMAT
20+
21+
if "%1"=="%DefFloppyDrive2%" goto FORMAT
22+
23+
if "%1"=="%DefFloppyDrive2_L%" goto FORMAT
24+
25+
:SET_FLOPPY
26+
echo Please specify the drive letter of your floppy drive.
27+
echo Press 1 for %DefFloppyDrive1%
28+
echo or
29+
echo Press 2 for %DefFloppyDrive2%
30+
echo.
31+
choice /c:12 Choose an option
32+
if errorlevel 2 goto BDRIVE
33+
if errorlevel 1 goto ADRIVE
34+
35+
:ADRIVE
36+
set DefFloppyDrive=%DefFloppyDrive1%
37+
goto FORMAT
38+
39+
:BDRIVE
40+
set DefFloppyDrive=%DefFloppyDrive2%
41+
goto FORMAT
42+
43+
44+
:FORMAT
45+
echo.
46+
echo To make a Startup Disk
47+
echo Label a disk "Windows 98 Startup Disk" and insert it into drive %DefFloppyDrive%
48+
echo Caution: Setup will delete any existing files on this floppy disk.
49+
echo.
50+
pause
51+
format %DefFloppyDrive% /u /v:EBD /autotest
52+
if not errorlevel 0 goto FORMAT_ERROR
53+
54+
:COPY
55+
echo.
56+
echo Copying files to %DefFloppyDrive% ...
57+
copy .\EBD\*.* %DefFloppyDrive% > NUL
58+
echo.
59+
echo Transfering system files...
60+
sys %DefFloppyDrive% > NUL
61+
echo.
62+
echo Startup disk is ready.
63+
echo.
64+
goto END
65+
66+
:FORMAT_ERROR
67+
echo.
68+
echo There was a error formatting the specified drive.
69+
echo Press Y to retry or N to cancel
70+
choice /c:yn
71+
if errorlevel 2 goto FORMAT_CANCEL
72+
if errorlevel 1 goto FORMAT
73+
:FORMAT_CANCEL
74+
echo .
75+
echo Exiting
76+
goto END
77+
78+
:USAGE
79+
echo.
80+
echo Usage: bootdisk [drive letter:]
81+
echo e.g: bootdisk
82+
echo or
83+
echo bootdisk %DefFloppyDrive1%
84+
echo.
85+
echo This command should be run from the WINDOWS\COMMAND directory.
86+
echo.
87+
goto END
88+
89+
:NODIR
90+
echo.
91+
echo The EBD directory does not exist.
92+
echo Change to the WINDOWS\COMMAND directory and try again.
93+
echo.
94+
goto END
95+
96+
:END
97+
set DefFloppyDrive=
98+
set DefFloppyDrive1=
99+
set DefFloppyDrive1_L=
100+
set DefFloppyDrive2=
101+
set DefFloppyDrive2_L=

files/DOSSTART.BAT

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
@echo off
2+
3+
REM Notes:
4+
REM DOSSTART.BAT is run whenenver you choose "Restart the computer
5+
REM in MS-DOS mode" from the Shutdown menu in Windows. It allows
6+
REM you to load programs that you might not want loaded in Windows,
7+
REM (because they have functional equivalents) but that you do
8+
REM want loaded under MS-DOS. The two primary candidates for
9+
REM this are MSCDEX and a real mode driver for the mouse you ship
10+
REM with your system. Commands that you want present in both Windows
11+
REM and MS-DOS should be placed in the Autoexec.bat in the
12+
REM \Image directory of your reference server. Please note that for
13+
REM MSCDEX you will need to load the corresponding real-mode CD
14+
REM driver in Config.sys. This driver won't be used by Windows 98
15+
REM but will be available prior to and after Windows 98 exits.
16+
REM
17+
REM This file is also helpful if you want to F8 boot into MS-DOS 7.0
18+
REM before Windows loads and access the CD-ROM. All you have to do
19+
REM is press F8 and then run DOSSTART to load MSCDEX and your real
20+
REM mode mouse driver (no need to remember the command line parameters
21+
REM for these two files.
22+
REM
23+
REM - You MUST explicitly specify the CD ROM Drive Letter for MSCDEX.
24+
REM - The string following the /D: statement must explicitly match
25+
REM the string in CONFIG.SYS following your CD-ROM device driver.
26+
27+
REM MSCDEX.EXE /D:OEMCD001 /l:d
28+
REM MOUSE.EXE
29+

files/FCOUNT.BAT

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@echo off
2+
prep /om /fc %1.exe
3+
if errorlevel 1 goto done
4+
profile %1 %2 %3 %4 %5 %6 %7 %8 %9
5+
if errorlevel 1 goto done
6+
prep /m %1
7+
if errorlevel 1 goto done
8+
plist %1
9+
:done

files/FCOVER.BAT

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@echo off
2+
prep /om /fv %1.exe
3+
if errorlevel 1 goto done
4+
profile %1 %2 %3 %4 %5 %6 %7 %8 %9
5+
if errorlevel 1 goto done
6+
prep /m %1
7+
if errorlevel 1 goto done
8+
plist %1
9+
:done

files/FTIME.BAT

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@echo off
2+
prep /om /ft %1.exe
3+
if errorlevel 1 goto done
4+
profile %1 %2 %3 %4 %5 %6 %7 %8 %9
5+
if errorlevel 1 goto done
6+
prep /m %1
7+
if errorlevel 1 goto done
8+
plist %1
9+
:done

files/LCOUNT.BAT

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
rem This batch file must be invoked from the directory containing the exe to be profiled. If used from the IDE, do not change directories before running as a custom batch file.
2+
3+
@echo off
4+
prep /om /lc %1.exe
5+
if errorlevel 1 goto done
6+
profile %1 %2 %3 %4 %5 %6 %7 %8 %9
7+
if errorlevel 1 goto done
8+
prep /m %1
9+
if errorlevel 1 goto done
10+
plist %1
11+
:done

files/LCOVER.BAT

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
rem This batch file must be invoked from the directory containing the exe to be profiled. If used from the IDE, do not change directories before running as a custom batch file.
2+
3+
rem Line count profiling takes more time than other modes. See Help about limiting the scope of profiling if profiling a large application.
4+
5+
@rem off
6+
prep /om /lv %1.exe
7+
if errorlevel 1 goto done
8+
profile %1 %2 %3 %4 %5 %6 %7 %8 %9
9+
if errorlevel 1 goto done
10+
prep /m %1
11+
if errorlevel 1 goto done
12+
plist %1
13+
:done

files/MAKAPT15.BAT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
regedit /s adoapt15.reg

files/MAKFRE15.BAT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
regedit /s adofre15.reg

0 commit comments

Comments
 (0)