Hi Group
I need very urgent help from this group. I have written a VB script code
like this,
----------------------------------------------------------------------------------------------------
dim wshshell
Set WshShell = Wscript.CreateObject("WScript.Shell")
WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ForceClassicControlPanel",
"00000001", "REG_DWORD"
Dim cmd
Dim I
I=1
cmd = "control.exe"
while I<1
I=I+1
wend
WshShell.Run cmd,,True
WshShell.AppActivate "Control Panel"
WshShell.SendKeys "%F"
WshShell.SendKeys "%F"
WshShell.SendKeys "C"
WshShell.RegDelete
"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ForceClassicControlPanel"
---------------------------------------------------------------------------------------
This code is working fine.
Now I need the same function execution through batch files.
I dont know how to write the same function in batch file.
Can anyone help me for this.I know this is not a Group for answering batch
file question, then also if anyone give me the solution, i will be highly
thankful to them.
steps are
* Adding the registry key.
* opening the conntrol panel window
* closing the control panel window
* delete the same key
Thanks and Best Regards
Katheryne