Solved

I need to have the attached batch file rewritten to vbscript

Posted on 2011-03-14
1
322 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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Welcome back!  My apologies for taking so long to write part two of this series; it's been a long time coming!  As I promised in Part 1, this article will focus on how to locate those elusive AD properties that you are searching for.  Why is this us…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now