Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

kixtart question

Thread Tools
 
Search this Thread
 
Old 13 April 2005, 03:20 PM
  #1  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default kixtart question

Anyone familiar with Kixtart for login scripts.

I am trying to write a value to:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Explorer\MountPoints2\##NETWORK DRIVE#Network Data\_LabelFromReg from the share name on the 2003 Server and Change it to say Network data.

I've followed all the kixtarts guides and I can't do it

Here is the command
WriteValue ("HKEY_CURRENT_USER\Software\Microsoft\Windows\Cur rentVersion\Explorer\MountPoints2\##BHTFS01#Networ k Data","LabelFromReg","Network Data","REG_SZ").

Can anyone see anything wrong

Darren
Old 14 April 2005, 01:38 PM
  #2  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default

Boing boing boing

Darren
Old 22 April 2005, 10:51 AM
  #3  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

Try using:

WriteValue ("HKEY_CURRENT_USER\Software\Microsoft\Windows\Cur rentVersion\Explorer\MountPoints2\##BHTFS01#Networ k Data\LabelFromReg","Network Data","REG_SZ")

David
Old 22 April 2005, 10:54 AM
  #4  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

and I think it should be _LabelFromReg

What are you trying to do? Replace the Share description with something more meaningfull?

Last edited by David_Wallis; 22 April 2005 at 10:59 AM.
Old 22 April 2005, 11:13 AM
  #5  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default

Thanks David,

Yep, currently it takes the default share name which is Network Data on File Server blah blah blah.

I just want some meaningfull.

I'll give this a try.

Darren
Old 22 April 2005, 09:51 PM
  #6  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

did it work then? (like i need to ask!!)
Old 22 April 2005, 10:07 PM
  #7  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default

Not sure, I was not at work today

I'll check on Tuesday when I'm next in.

Darren
Old 26 April 2005, 03:55 PM
  #8  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default

Nope, it still does not work,

This is what I have:
WriteValue ("HKEY_CURRENT_USER\Software\Microsoft\Windows\Cur rentVersion\Explorer\MountPoints2\##BHTFS01#Networ k Data\_LabelFromReg","Data","REG_SZ")

When I run the Script I receive:
ERROR : invalid method/function call: missing comma!
Script: Z:\test.kix
Line : 8

Where am I going wrong
Am I required to write a Readvalue before a WriteValue?

Darren

Last edited by darlodge; 26 April 2005 at 04:15 PM. Reason: Added some more details and took some out
Old 26 April 2005, 04:35 PM
  #9  
ChrisB
Moderator
 
ChrisB's Avatar
 
Join Date: Dec 1998
Location: Staffs
Posts: 23,573
Likes: 0
Received 0 Likes on 0 Posts
Default

WriteValue should have four parameters. KeyPath, Value, Data & Data Type.
Old 26 April 2005, 05:21 PM
  #10  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

$strDummy = WriteValue("HKCU\Software\Microsoft\Windows\Curren tVersion\Explorer\MountPoints2\##BHTFS01#Network Data","_LabelFromReg","Data","REG_SZ")
Old 26 April 2005, 05:22 PM
  #11  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

remove that damn space that this bbs puts in too..
Old 26 April 2005, 05:39 PM
  #12  
darlodge
Scooby Regular
Thread Starter
 
darlodge's Avatar
 
Join Date: Oct 2001
Location: Lovely Lancing in West Sussex
Posts: 3,449
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by David_Wallis
$strDummy = WriteValue("HKCU\Software\Microsoft\Windows\Curren tVersion\Explorer\MountPoints2\##BHTFS01#Network Data","_LabelFromReg","Data","REG_SZ")
Thanks David and Chris,

David I had removed the spaces however, the BBS keeps putting them back again as I paste things here.

This writevalue works. I can see why now as well

My book should arrive on Thursday so you should not hear from me again.

Dazza
Old 26 April 2005, 05:41 PM
  #13  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

Old 26 April 2005, 07:58 PM
  #14  
ChrisB
Moderator
 
ChrisB's Avatar
 
Join Date: Dec 1998
Location: Staffs
Posts: 23,573
Likes: 0
Received 0 Likes on 0 Posts
Default

No problem

I wonder if using {CODE} tags stops the space?
Code:
$strDummy = WriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints\##BHTFS01#NetworkData","_LabelFromReg","Data","REG_SZ")

Last edited by ChrisB; 26 April 2005 at 08:02 PM. Reason: Nope it chuffin' doesnt!
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
slimwiltaz
General Technical
20
09 October 2015 07:40 PM
IanG1983
Wheels, Tyres & Brakes
2
06 October 2015 03:08 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
the shreksta
Other Marques
26
01 October 2015 02:30 PM



Quick Reply: kixtart question



All times are GMT +1. The time now is 12:58 PM.