Hello Everybody,
I want to I want to perform dos command (copy) in vb.net.I want to do it on button click event.Invoking the command using .bat format is not suit for me, because the source and destination of copying depending upon the selection of source and destination(that's done by users of this application).Please help me.
krm08
0
Newbie Poster
Recommended Answers
Jump to PostDunno why you don't just do the copy from within VB.NET (without a system call)
Jump to Postprobably doing an assignment for school and is directed to do it this way. (maybe a vbscript batch file for system admin?)
Jump to PostFile.Copy("C:\directory\File1.txt", "C:\Directory\File2.txt")
All 9 Replies
bobbydiaz
0
Newbie Poster
Comatose
290
Taboo Programmer
Team Colleague
rapture
134
Posting Whiz in Training
krm08
0
Newbie Poster
rapture
134
Posting Whiz in Training
krm08
0
Newbie Poster
Comatose
290
Taboo Programmer
Team Colleague
GuggiTanvi
0
Newbie Poster
mirza.imran
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.