| | |
How to use DOS command in vb.net
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2008
Posts: 11
Reputation:
Solved Threads: 0
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.
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.
•
•
Join Date: Jan 2009
Posts: 1
Reputation:
Solved Threads: 0
VB.NET Syntax (Toggle Plain Text)
Shell("cmd /c copy file1 file2", vbHide)
the cmd /c closes the command window as soon as the command is ran and vbhide hides the command window so its not seen.
Hope this helps.
•
•
Join Date: Dec 2008
Posts: 11
Reputation:
Solved Threads: 0
hello friends
doesn't work.
I need to run the command
how can I do this?
VB.NET Syntax (Toggle Plain Text)
Shell("cmd /c copy file1 file2", vbHide)
I need to run the command
VB.NET Syntax (Toggle Plain Text)
copy /b file1 + file2
•
•
Join Date: Dec 2008
Posts: 11
Reputation:
Solved Threads: 0
It doesn't works.Any way thanks for your reply.As I mentioned above I want to perform
VB.NET Syntax (Toggle Plain Text)
copy /b file1 + file2 file3
![]() |
Similar Threads
- put the Dos 's command into java program? (Java)
- USB in DOS (USB Devices and other Peripherals)
- hard drive and usb cdrw not recognized in DOS (Storage)
- Dos help (Windows NT / 2000 / XP)
- help finding akamai-cluster.enta.net (Viruses, Spyware and other Nasties)
- How to install Windows 98 (Windows 95 / 98 / Me)
- missing Win98SE files... (Windows 95 / 98 / Me)
- No "Data & Time" Function (Windows 95 / 98 / Me)
- Net work just stoped working (Networking Hardware Configuration)
Other Threads in the VB.NET Forum
- Previous Thread: 2008 displaying the task category vista event logs
- Next Thread: Connecting to an .mdf database
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account advanced application array basic beginner browser button buttons center click code combo cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic excel exists fade filter forms generatetags html images input insert intel internet listview map mobile module monitor msaccess net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey table temperature textbox timer timespan transparency txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year






