Create a simple VB Script to copy files from Server to PC?

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

How would I create a simple vb script with a GUI interface to copy
files from a fileserver to a PC.

for example, I would have a form with Radio Buttons or Check Boxes

box1 - copy prefs
box2 - copy keyboard shortcuts
box3 - copy workspace
and a RUN button

if box1 is selected:
copy \\server\share\prefs to c:\documents and settings\%username%
\myprogram\prefs
and etc. etc. for the other boxes.
 
Jason,

The difference is that a script is a something like a .Bat file (in this
case a text file with the extention .vb), you can not create those with VB
2008 Express edition,

Cor

"Jason" <[email protected]> schreef in bericht
Well I have VB 2008, express edition. I would assume vb.net
What is the diff?
 
Oh yes, that is what I mean, I want to create a GUI little app and not
a script I guess.





- Show quoted text -

Sounds like you want to use System.IO.File and System.IO.Path's
methods within a Winform project resulting as a EXE file... Plus it
would be more hintful to specify what you want to implement in your
project.

Onur Güzel
 
VBScript is an interpreted late-bound language that relies on COM.

VB .NET is an early-bound compiled language that does not rely on COM.
 
Back
Top