VBS Script to create target folder on UNC path with computername and copy files ...

Hello everybody

I am trying to create VB script that (scripts runs on the target computer, windows xp or windows 7) simply captures the computername, and then creates on a UNC path, a folder with that computername. When done, copy a log or xml file from the folder c:\micro from the target computer to the new created folder in UNC path . 

What i actually want is to create a folder based on hostname and then copy files to this folder

The purpose of this script is the create a folder structure of computernames and each computerfoldername contains the xml and / or log file. 

Thanks in advance and have a nice day



  • Edited by Mister007 19 hours 44 minutes ago
September 14th, 2015 6:15am

Hi,

You forgot to post your script and errors.

If you haven't started writing one yet, you can check the script repository for a starting point:

http://gallery.technet.microsoft.com/scriptcenter

Free Windows Admin Tool Kit Click here and download it now
September 14th, 2015 11:36am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics