File: msdos.out

package info (click to toggle)
dosemu-freedos 1%3A0.0.b9r5a%2Betch.1-0etch1
  • links: PTS
  • area: contrib
  • in suites: etch
  • size: 19,744 kB
  • ctags: 23,279
  • sloc: ansic: 143,864; asm: 20,397; makefile: 3,868; perl: 1,106; yacc: 690; sh: 553; pascal: 297; xml: 150; cpp: 67
file content (66 lines) | stat: -rw-r--r-- 970 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66


D:\freedos\com074bs\source\PACK\test>echo This is a test batch file

This is a test batch file



D:\freedos\com074bs\source\PACK\test>echo

ECHO is on

Testing with echo off



D:\freedos\com074bs\source\PACK\test>echo Testing wih echo on

Testing wih echo on



D:\freedos\com074bs\source\PACK\test>echo off

Testing : test2 p1 p2 p3 p4

Testing : p1 p2 p3 p4

Testing : p2 p3 p4

now test the environment substitution

path is D:\AMI\TOOLS\MASM611\BIN;D:\AMI\TOOLS\BIN;C:\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BC45\BIN;C:\BRIEF;

PATH is D:\AMI\TOOLS\MASM611\BIN;D:\AMI\TOOLS\BIN;C:\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BC45\BIN;C:\BRIEF;

Absent variable is

Bad format : bad format

Testing double %comspec%

Call another batch file...

Testing : test3.bat t3p1 t3p2 t3p3

Testing : t3p1 t3p2 t3p3

Testing : t3p2 t3p3

Press any key to continue . . .



.

Returned to TEST2

.

Testing : p2 p3 p4

Testing : p3 p4

Testing : p4