ملف الأوامر المتعاقبة
ECHO OFF
COMP %1%2
ECHO If errors have been reported, call the your BOSS
B:\> COPY CON HUS. BAT
ECHO OFF
COMP $1 $2
ECHO If errors have been reported, call the BOSS
1 file(s) copied
وضع في الاعتبار ان الرسالة ستظهر بصرف النظر عن كون echo في حالة on او off
B:\>hus
B:\>ECHO OFF
Name of first file to compare: a:samplel.txt Name of second file to compare: a:sample2.txt Option :
Comparing A:SAMPLE1.TXT and A:SAMPLE2.TXT.. Files are different sizes
Compare more files (Y/N) ? n
If errors have been reported, call the BOSS B:\>
B:\> HUS A:SAMPLE1.TXT SAMPLE2.TXT
B:\>ECHO OFF
Comparing A:SAMPLE1.TXT and SAMPLE2.TXT... Files are different sizes
Compare more files (Y/N) ? N
If errors have been reported, call the BOSS B:\>
1A0
ص١٩٩