Ticket #91: 4start.cmd.sample

File 4start.cmd.sample, 961 bytes (added by Lewis Rosenthal, 8 days ago)

Modified 4start.cmd.sample as described.

Line 
1
2@rem Instead of enabling the following mode command,
3@rem make a program object with properties
4@rem 'Path' "*" and 'Parameters' "/c mode co80,100 && x:\SYS\APPS\4OS2\4OS2.EXE"
5
6@rem mode co80,100
7
8@prompt=$i$e[33m{$r}$e[36;1m[$p]$e[0m$s
9
10@alias ..=cd..
11@alias ...=cd \
12@alias dir=`iff %# eq 0 then %+ *dir /hat %+ else *dir %$ %+ endiff`
13
14@if not defined CDPATH set CDPATH=..;..\..;
15
16@echo Review %@full[%0] and
17@echo edit (E) to suit your needs.
18@echo Then delete the lines starting with @echo Review and ending with '@set key='.
19@echo accept (A) this file with these lines removed
20@echo skip (S) over this message it will appear again the next time you start 4OS2
21@echo ÿ
22@inkey /k"EAS" Edit %@full[%0] now [E/A/S]? %%key
23@iff "%key"=="E" .OR. "%key"=="e" then
24 @start e.exe %@full[%0]
25@else @iff "%key"=="A" .OR. "%key"=="a" then
26 @copy /Q /E %@path[%0]4start.cmd.sample2 %@full[%0]
27else
28 cls
29endiff
30@set key=
31