i'm having some problems with a VB script that copies a batch file from onr machine to another.
this is what i have so far....
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
Dim fso
fso = CreateObject("Wscript.Shell")
fso.CopyFile("c:\batch\remote.bat, \\10.1.0.100\c\remote.bat")
MessageBox.Show("Transfer Completed")
however this doesn't seem to work.
as you can tell i'm new to all of this but willing to learn. I've done th google thing but thats onlt left me feeling more confused.
please help!!!
this is what i have so far....
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
Dim fso
fso = CreateObject("Wscript.Shell")
fso.CopyFile("c:\batch\remote.bat, \\10.1.0.100\c\remote.bat")
MessageBox.Show("Transfer Completed")
however this doesn't seem to work.
as you can tell i'm new to all of this but willing to learn. I've done th google thing but thats onlt left me feeling more confused.
please help!!!