Search found 3 matches

by nycgags
07 Jan 2011 09:35
Forum: DOS Batch Forum
Topic: having problems using parameters in a batch file
Replies: 5
Views: 5791

Re: having problems using parameters in a batch file

I am in the Administrators group in Windows, yet I get this error when I try to execute:

ERROR: Access is denied.

What's weird is if I log in as Administrator (also part of the Administrators group) it succeeds...
by nycgags
06 Jan 2011 12:54
Forum: DOS Batch Forum
Topic: having problems using parameters in a batch file
Replies: 5
Views: 5791

Re: having problems using parameters in a batch file

awesome thanks, do I need to expand HKLM, or will reg translate it to: HKEY_LOCAL_MACHINE
by nycgags
05 Jan 2011 16:18
Forum: DOS Batch Forum
Topic: having problems using parameters in a batch file
Replies: 5
Views: 5791

having problems using parameters in a batch file

Normally when we spin up a new instance we need to add an alias on one of our boxes so we can easily connect to it through SSMS using SQL Server Configuration Manager. I have written a batch file which adds the appropriate entry into the registry (it is actually two batch files, one for 32 bit and o...