Hello My first post here,
I have the following issue:
I am trying to create a batch script that does the following: (we are using a process for SCVMM to install a package on more than 7000 computers and send the results (xml and log) files to each folder with the affected computername
(*Target computers are windows xp or windows 7)
The batch script runs on a target computer, "captures" the computer name and creates in a UNC path the folder of the corresponding computername and copies 2 files (xml and log) from a folder called c:\micro on the target computer to the new created computername folder in the UNC path.
The purpose of this batch is to create a folder structure (each folder resprents the computer names ) containing the xml and log files.
Please help
Thanks in advance
Create folders of each computername and copy files ..
Moderator: DosItHelp
Re: Create folders of each computername and copy files ..
Apologies in advance to the site admins/mods for my failure to provide a community response to this question.
This type of question really does wind me up, because I see no reason at all why somebody employed and paid to undertake an administrative position over even a handful of PC's, (never mind 7000), should be given free help to perform basic administrative network tasks.
This type of question really does wind me up, because I see no reason at all why somebody employed and paid to undertake an administrative position over even a handful of PC's, (never mind 7000), should be given free help to perform basic administrative network tasks.
Re: Create folders of each computername and copy files ..
Novice7 wrote:The batch script runs on a target computer, "captures" the computer name and creates in a UNC path the folder of the corresponding computername and copies 2 files (xml and log) from a folder called c:\micro on the target computer to the new created computername folder in the UNC path.
The purpose of this batch is to create a folder structure (each folder resprents the computer names ) containing the xml and log files.
Are you not familiar with the basic environmental variables that the operating system provides?
http://ss64.com/nt/syntax-variables.html
Re: Create folders of each computername and copy files ..
Compo wrote:This type of question really does wind me up, because I see no reason at all why somebody employed and paid to undertake an administrative position over even a handful of PC's, (never mind 7000), should be given free help to perform basic administrative network tasks.
It's my impression that a huge number of questions are from schoolwork.