China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 19:30
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original] Batch-processed My Computer, based on SYBC1.1.31, green and no third-party files View 1,063 Replies 11
Original Poster Posted 2010-04-03 23:22 ·  中国 河北 廊坊 联通
中级用户
★★
Credits 499
Posts 225
Joined 2008-12-30 22:09
17-year member
UID 135392
Gender Male
Status Offline
Just playing around with it, everyone can also take the chance to get familiar with how to use SYBC. The code is in reply #2.
Attachments
wddn.GIF
SYBNQQ:354324773
Floor 2 Posted 2010-04-03 23:23 ·  中国 河北 廊坊 联通
中级用户
★★
Credits 499
Posts 225
Joined 2008-12-30 22:09
17-year member
UID 135392
Gender Male
Status Offline
Code:
 @echo off&color f0&SETLOCAL ENABLEDELAYEDEXPANSION&(CHCP 437&GRAFTABL 936)>NUL
SET SYBCOM=A100`80BE AC00 3C 375 83E9 3C00 ACFF 4275`2CBE AC00 E08A 86AC 50C4 BE1F 0 3CAC`7553 ACFB 593C F675 3CAC 7542 ACF1 433C`EC75 3CAC 7553 ACE7 3D3C E275 14EB 3CAC`743A 3C0F 740D 3C4D 7400 8349 1EE 48EB`54B4 E8AC 93 ADE8 3C00 7F18 8A37 E8F0`87 A1E8 3C00 7F4F 8A2B B0D0 F602 50E2`A0B0 E6F6 35F 57F8 3CAC 7424 E80A 6A`49E8 8A00 EBCA E817 3F CA8A 10EB B0`16CD C48A 4CB4 21CD 815F A0C7 5700 B850`B800 750 2B5A 8AEE ACD1 243C D974 3B3C`8C74 D3C DE74 3C DA74 233C 575 D783`EB01 AA01 C28A EBAA E8E0 1D 3C93 7E39`402 8009 39FB 37E C380 2409 800F FE3`10B2 E2F6 C302 D08A ACC3 203C FB74 D3C`A274 3C 9E74 D88A 3CAC 7420 3CEC 740D`3C93 7400 C38F 2C93 8030 30EB AB4 E4F6`C302 C3`
SET SYBCV=`A80`DB FF``RCX`120`G`Q
call :sybc
title C:\Documents and Settings\Administrator\桌面\SYBC\
call :SYBC 1000070 File(F) Edit(E) View(V) Favorites(A) Tools(T) Help(H) $2F←$70Forward $2F→$70Back View ;
call :SYBC 1010070 Address(D) $F0C:\Documents and Settings\Administrator\桌面\SYBC\ ▼$2F→$70Go to
call :SYBC 102000F▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇
call :SYBC 10300F0 ┌──╮ $f1┏━━━┓
call :SYBC 10400f0 │....│ SYBC.ASM $f1┡━━━┩$f0DDZ.CMD
call :SYBC 10500f0 │$fC:$f1:$fA:$f3:$f0│ $f8ASM file $f1│$F6╭┼╮$F1│$f8Windows NT command script
call :SYBC 10600f0 │$f6:$f5:$fB:$f9:$f0│ $f84 KB $f1│$F6╰─╯$F1│$f815 KB
call :SYBC 10700f0 └──┘ $f1└───┘
call :SYBC 10900f1┏━━━┓ $f1┏━━━┓
call :SYBC 11000f1┡━━━┩$f0DDZ.CMD $f1┡━━━┩$f0SYBC.COM
call :SYBC 11100f1│$F6╭┼╮$F1│$f8Shortcut $f1│ │$f8MS-DOS application
call :SYBC 11200f1│$F6╰─╯$F1│$f81 KB $f1│ │$f81 KB
call :SYBC 1130070↗$F1───┘ $f1└───┘
call :SYBC 12300f0▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
call :SYBC 12400f0Type: Windows NT command script Modified: 2010-4-3 22:45 Size 2.66KB My Computer ⊿
pause>nul
exit

:SYBCS
(ECHO.%SYBCOM:`=&ECHO.DW %&ECHO.%SYBCV:`=&ECHO.%)|DEBUG>NUL
goto :EOF
:SYBC
IF "%1" == "" SET SYBCCD=00&GOTO SYBCC
set SYBCS=%*
(ECHO.%SYBCOM:`=&ECHO.DW %&ECHO.%SYBCV:`=&ECHO.%)|DEBUG>NUL
EXIT /B %ERRORLEVEL%

:SYBCC
SET V=`A80`DB %SYBCCD% 00 "%SYBCC%" 0D``RCX`120`G`Q
(ECHO.%SYBCOM:`=&ECHO.DW %&ECHO.%V:`=&ECHO.%)|DEBUG>NUL
EXIT /B %ERRORLEVEL%▼
SYBNQQ:354324773
Floor 3 Posted 2010-04-03 23:28 ·  中国 河北 廊坊 联通
中级用户
★★
Credits 499
Posts 225
Joined 2008-12-30 22:09
17-year member
UID 135392
Gender Male
Status Offline
Actually it's very easy to write a piece of code like this:
just copy the beginning and ending directly from SYBC.
You only need to write the middle call SYBC part yourself.

First write it in monochrome, then after that's done, slowly add color ($F1) and positions (12400).
SYBNQQ:354324773
Floor 4 Posted 2010-04-04 06:56 ·  中国 台湾 台湾宽频通讯顾问股份有限公司
初级用户
★★
Credits 68
Posts 64
Joined 2009-05-23 20:43
17-year member
UID 145803
Gender Male
Status Offline
Under XP I get an error

Parameter value not allowed - 936
Floor 5 Posted 2010-04-05 20:38 ·  中国 河北 廊坊 联通
中级用户
★★
Credits 499
Posts 225
Joined 2008-12-30 22:09
17-year member
UID 135392
Gender Male
Status Offline
No way! Your system doesn't support the Chinese code page?
SYBNQQ:354324773
Floor 6 Posted 2010-04-05 20:39 ·  中国 河北 廊坊 联通
中级用户
★★
Credits 499
Posts 225
Joined 2008-12-30 22:09
17-year member
UID 135392
Gender Male
Status Offline
GRAFTABL 936
You can't execute it?
Give it a try!
SYBNQQ:354324773
Floor 7 Posted 2010-04-05 22:58 ·  中国 台湾 台湾宽频通讯顾问股份有限公司
初级用户
★★
Credits 68
Posts 64
Joined 2009-05-23 20:43
17-year member
UID 145803
Gender Male
Status Offline
C:\>GRAFTABL 936
Parameter value not allowed - 936
Floor 8 Posted 2010-04-09 16:19 ·  中国 河北 廊坊 联通
中级用户
★★
Credits 499
Posts 225
Joined 2008-12-30 22:09
17-year member
UID 135392
Gender Male
Status Offline
Sorry about that, it's a problem with your system...
You can try removing GRAFTABL 936,
maybe it can run normally!
SYBNQQ:354324773
Floor 9 Posted 2010-04-09 16:23 ·  中国 黑龙江 哈尔滨 联通
版主
★★
系统收藏家
Credits 326
Posts 285
Joined 2010-02-22 00:00
16-year member
UID 160972
Gender Male
From 黑龙江省
Status Offline
sl543001 is really an expert, you've got so many SYBC batch-processings.
Floor 10 Posted 2010-04-09 16:26 ·  中国 黑龙江 哈尔滨 联通
版主
★★
系统收藏家
Credits 326
Posts 285
Joined 2010-02-22 00:00
16-year member
UID 160972
Gender Male
From 黑龙江省
Status Offline
Why do you like putting graftabl at the front?
Most of the time I use call chinese.bat
the contents are
chcp 437>nul
graftabl 986>nul
Floor 11 Posted 2010-04-09 16:36 ·  中国 黑龙江 哈尔滨 联通
版主
★★
系统收藏家
Credits 326
Posts 285
Joined 2010-02-22 00:00
16-year member
UID 160972
Gender Male
From 黑龙江省
Status Offline
To the poster in reply #4, this should be an ntvdm problem.
Under cmd, if you run a 16bit program, it's very easy for this kind of situation to appear.
System problem.
Floor 12 Posted 2010-04-10 00:11 ·  中国 河北 廊坊 联通
中级用户
★★
Credits 499
Posts 225
Joined 2008-12-30 22:09
17-year member
UID 135392
Gender Male
Status Offline
Because I'm trying my best to make the script completely green (no third-party files, no temporary files).
SYBNQQ:354324773
Forum Jump: