Re: I am new to VB. How do I execute a DOS command (i.e Copyfile) from VB?

Posted 06 August 2012 - 02:45 PM

Can I ask why do you want to use command line stuff? Doesn't VB have its own file functions? If you are not happy with them, you could always use the File Functions from the Windows API, which are as powerful as you need them to be.

Re: I am new to VB. How do I execute a DOS command (i.e Copyfile) from VB?

Posted 07 August 2012 - 04:02 PM

GunnerInc, on 06 August 2012 - 02:45 PM, said:

Can I ask why do you want to use command line stuff? Doesn't VB have its own file functions? If you are not happy with them, you could always use the File Functions from the Windows API, which are as powerful as you need them to be.

DOS is dead, let it rest in piece!

as being new to VB, I am unaware how touse thw windows API. Any help would be most appreciated!!

I want to use a command button to copy a file to an external drive. as I am new to VB, I do not know how to use the Windows API. Any help will be appreciated.