PC Review


Reply
Thread Tools Rate Thread

Convert a registry modification script

 
 
Sam
Guest
Posts: n/a
 
      19th Jun 2008
Hi,

How do I convert this VBScript:

objShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\My
Music","S:\Music Libraries\"&objNetwork.Username &"'s Music","REG_EXPAND_SZ"
objShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders\Personal", "U:\", "REG_EXPAND_SZ"
objShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\My
Pictures", "U:\My Pictures", "REG_EXPAND_SZ"

to Batch reg add commands. Can you guys convert this to a reg add command I
can round from the command prompt?

Thank you
 
Reply With Quote
 
 
 
 
Bill Sanderson
Guest
Posts: n/a
 
      21st Jun 2008
I think I could do this, but you should consult some folks more expeienced
in scripting.

This forum is for the support of Windows Defender, Microsoft's anti-spyware
application.

I've tried to navigate through Microsoft's increasingly fragmented and
arcane system of newsgroups and web forums, and haven't succeeded in finding
you a scripting group.

I believe there is at least one--but if you can't find it, try somewhere the
server administrators hang out---they may either have your answer, or know
where to ask.



"Sam" <(E-Mail Removed)> wrote in message
news:93B223AE-3CF9-4D41-9D19-(E-Mail Removed)...
> Hi,
>
> How do I convert this VBScript:
>
> objShell.RegWrite
> "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\My
> Music","S:\Music Libraries\"&objNetwork.Username &"'s
> Music","REG_EXPAND_SZ"
> objShell.RegWrite
> "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
> Folders\Personal", "U:\", "REG_EXPAND_SZ"
> objShell.RegWrite
> "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\My
> Pictures", "U:\My Pictures", "REG_EXPAND_SZ"
>
> to Batch reg add commands. Can you guys convert this to a reg add command
> I
> can round from the command prompt?
>
> Thank you


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SCRIPT CODE MODIFICATION NEED HELP Hotnumbers2000 Microsoft Outlook Discussion 0 11th Mar 2009 11:00 PM
VB script modification (continued from yesterday) DTLay Microsoft Excel Programming 2 27th Feb 2008 04:24 PM
java script modification help =?Utf-8?B?dGhyZWFkZW1wb3JpdW0=?= Microsoft Frontpage 6 2nd Apr 2006 06:49 PM
registry Modification =?Utf-8?B?Sk1jQ3ViYmlu?= Spyware Discussion 1 16th Dec 2005 09:43 PM
XP SP2 Firewall Modification via Login Script =?Utf-8?B?TFZEYXZl?= Windows XP Help 0 25th Oct 2005 11:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:13 AM.