Solved

I need to have the attached batch file rewritten to vbscript

Posted on 2011-03-14
1
326 Views
Last Modified: 2012-05-11
The batch file has to be ran with 2 parameters , the first parameter is the location of the folder where reg files are located , the second is the username of the loged on user.

Based on how and whether the username is configured a reg file is added to the pc of the user. base.bat.txt base.bat.txt base.bat.txt
groups-regfiles.txt
0
Comment
Question by:itbabe
1 Comment
 
LVL 51

Accepted Solution

by:
Netman66 earned 500 total points
ID: 35136875
Based on what I can see in those scripts, I'm assuming you want a registry value set for custom reports based on the user - is this correct?

Let me ask you a few questions first.

1)  Are these reports different based on the user only or are they departmentally the same?  What I mean is can this solution be based on security groups rather than individual people?

2)  What is the registry setting?  I don't see the reg file.

Depending on the answers, I think we could approach this from a different angle using Group Policy and scripts and filter them by Security Group.  It would be much simpler in my opinion and could be managed/changed centrally.

Let me know.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to open text file 11 128
VBScript Issues 8 40
Server 2012 management. 5 34
how to count files? 4 30
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question