TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abdu Rafeeq
NA
113
264.7k
Bat file print
Jul 19 2011 8:08 AM
I have a bat file a.bat
I want print throgh c# code..
How?
I used given code but not print
System.Diagnostics.
Process
proc =
new
System.Diagnostics.
Process
();
proc.EnableRaisingEvents =
false
;
proc.StartInfo.FileName =
"c:\\a.bat"
;
proc.StartInfo.Arguments =
string
.Format(
"C-Sharp Console application"
);
proc.StartInfo.CreateNoWindow =
false
;
proc.Start();
Reply
Answers (
1
)
Display text in label
Simulate a KeyPress in C# code