Page 1 of 1 1
Topic Options
#174824 - 2007-03-21 04:19 PM 1314 with the SaveKey command
derber Offline
Lurker

Registered: 2007-03-08
Posts: 3
hi there
in a logon script i dlike to you the savekey command. it creates a reg file but its empty and in the commandwindow appears the number 1314.
the code is this

Savekey("HKEY_CURRENT_USER\Software\Microsoft\Sourcesafe","C:\temp\currentdb.reg")

whats wrong?
thans for help

(sorry for my bad english)


Edited by derber (2007-03-21 04:20 PM)

Top
#174827 - 2007-03-21 04:39 PM Re: 1314 with the SaveKey command [Re: derber]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4642
Loc: The Netherlands
1314 means that the user executing the command does not have the proper privileges.

Have a look at: http://msdn2.microsoft.com/en-us/library/ms681381.aspx for an explanation for all system error codes.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#174831 - 2007-03-21 06:11 PM Re: 1314 with the SaveKey command [Re: Mart]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Search the FAQ forum for the answer.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#174845 - 2007-03-22 04:21 AM Re: 1314 with the SaveKey command [Re: Les]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
And as documented in the KiXtart Manual
 Quote:
SAVEKEY requires Backup and Restore privileges
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 159 anonymous users online.
Newest Members
emnipetro, Hirze, thequeen, ameliaryan, shalomsalami
17641 Registered Users

Generated in 0.064 seconds in which 0.047 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org