Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Copy VBS

Status
Not open for further replies.

agiddens

Technical User
Joined
Dec 29, 2004
Messages
5
Location
GB
Hi,

I need to VBS for a file copy for a logon script. I need to copy a file from a network share to the local machine everytime a user logs on.

Anyone have any idea of the VBS for this?
 
Set fso=CreateObject("Scripting.FileSystemObject")
fso.CopyFile "c:\dir\*.*", "d:\dir\",TRUE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top