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-06-29 23:37
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] Batch & VBS System Call Bubble View 8,815 Replies 76
Floor 46 Posted 2007-05-24 22:18 ·  中国 海南 联通
新手上路
Credits 13
Posts 7
Joined 2006-12-01 09:39
19-year member
UID 72265
Gender Male
Status Offline
Can't see it...
Floor 47 Posted 2007-05-28 18:59 ·  中国 江西 南昌 电信
初级用户
★★
Credits 193
Posts 98
Joined 2007-01-17 11:56
19-year member
UID 76803
Gender Male
Status Offline
@echo off
set "dnfpath=C:\Windows\Microsoft.NET\Framework"
set "est=DO_NOT_ZT_WITHOUT_PERMISSION"
for /f "delims=" %%v in ('dir /ad /b %dnfpath%\v?.*') do (
if exist "%dnfpath%\%%v\csc.exe" set "cscpath=%dnfpath%\%%v\csc.exe"
)

< "%~f0" more +17 > "%temp%\estTrayTip.cs"
%cscpath% "/out:%cd%\estTrayTip.exe" "%temp%\estTrayTip.cs"
estTrayTip.exe C:\Windows\System32\acwizard.ico 看什么看 没见过批处理啊?没见过任务栏的汽泡信息啊?见过了吧?见过了顶electronixtar的帖子。 2
:exe的参数解释:estTrayTip.exe 图标路径 标题 内容 提示图标类型Error、Info、None、Warning,这里取2=Info。每个参数都必须正确填写
>nul ping 127.1 -n 1
del estTrayTip.exe

goto:eof

:estTrayTip

using System;
using System.Windows.Forms;
using System.Drawing;

namespace estTrayTip
{
class Program
{
static void Main(string[] args)
{
NotifyIcon estIcon = new NotifyIcon();
estIcon.Icon = new Icon(args[0]);
estIcon.Visible = true;
ToolTipIcon estToolTipIcon = new ToolTipIcon();
switch(args[3])
{
case "1":
estToolTipIcon = ToolTipIcon.Error; break;
case "2":
estToolTipIcon = ToolTipIcon.Info; break;
case "3":
estToolTipIcon = ToolTipIcon.None; break;
case "4":
estToolTipIcon = ToolTipIcon.Warning; break;
}
estIcon.ShowBalloonTip(1,args[1],args[2],estToolTipIcon);
}
}
}
这家伙很聪明 什么都没留下
Floor 48 Posted 2007-06-13 14:40 ·  中国 陕西 西安 电信
新手上路
Credits 7
Posts 5
Joined 2007-06-13 11:44
19-year member
UID 91164
Gender Male
Status Offline
Can't see it, too many restrictions
Floor 49 Posted 2007-06-13 14:42 ·  中国 陕西 西安 电信
新手上路
Credits 7
Posts 5
Joined 2007-06-13 11:44
19-year member
UID 91164
Gender Male
Status Offline
DOS represents freedom, openness, and development. Let's work hard to learn the freedom, openness, and GNU spirit of FreeDOS and Linux, and jointly create and develop a beautiful free and GNU GPL world!

But why are there still so many restrictions!
Floor 50 Posted 2007-06-14 13:32 ·  中国 江苏 无锡 江阴市 电信
初级用户
Credits 21
Posts 9
Joined 2007-04-14 10:44
19-year member
UID 85129
Gender Male
From 福建厦门
Status Offline
Top. Take it out and share it
Floor 51 Posted 2007-06-14 16:13 ·  中国 广东 中山 电信
贫困用户
Credits -3
Posts 1
Joined 2007-06-14 15:20
19-year member
UID 91303
Gender Male
From 廣東
Status Offline
Floor 52 Posted 2007-06-16 03:05 ·  中国 河南 郑州 联通
初级用户
★★
Credits 136
Posts 59
Joined 2006-06-02 16:05
20-year member
UID 56438
Status Offline
Who will know, I also want to know.
Floor 53 Posted 2007-06-16 10:46 ·  中国 安徽 芜湖 电信
新手上路
Credits 10
Posts 4
Joined 2006-10-28 04:08
19-year member
UID 68593
Gender Male
Status Offline
Many posts can't be viewed, which is depressing. Want to post, but have no skills
Floor 54 Posted 2007-06-16 17:37 ·  中国 重庆 璧山区 电信
新手上路
Credits 7
Posts 4
Joined 2007-01-12 11:50
19-year member
UID 76288
Gender Male
Status Offline
Floor 55 Posted 2007-08-21 11:09 ·  IANA 局域网IP(Private-Use)
新手上路
Credits 1
Posts 2
Joined 2006-10-11 01:02
19-year member
UID 65227
Gender Male
Status Offline
Floor 56 Posted 2007-08-21 21:43 ·  中国 浙江 湖州 电信
初级用户
Credits 58
Posts 27
Joined 2007-07-27 01:53
18-year member
UID 94107
Gender Male
Status Offline
Floor 57 Posted 2007-08-21 21:44 ·  中国 浙江 湖州 电信
初级用户
Credits 58
Posts 27
Joined 2007-07-27 01:53
18-year member
UID 94107
Gender Male
Status Offline
Why can't the code I used achieve that?
Floor 58 Posted 2007-08-21 21:44 ·  中国 浙江 湖州 电信
初级用户
Credits 58
Posts 27
Joined 2007-07-27 01:53
18-year member
UID 94107
Gender Male
Status Offline
I installed net 2.0, yeah
Floor 59 Posted 2007-08-21 22:21 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
It's better to use my program instead of installing net2.0~ It's compact哦

http://www.cn-dos.net/forum/view ... ;highlight=%2Bslore
Floor 60 Posted 2007-08-21 23:38 ·  中国 安徽 滁州 定远县 电信
新手上路
Credits 10
Posts 5
Joined 2007-04-18 05:47
19-year member
UID 85579
Gender Male
Status Offline
Forum Jump: