Archive for the ‘Script’ Category
Wednesday, April 30th, 2008
I was asked how to modify an INI from a script. Its quite straight forward. Firstly have a read of the Scripting Guy article here. It explains the process quite well actually. However, I wanted to go a step further and setup arguments to make the script re-useable. So here ...
Posted in General, Script | No Comments »
Friday, April 18th, 2008
Ive been asked this a number of times this past month. How do I get the date into a filename in a batch file?
Most peope try using the %date% variable. Which will not work as you cannot have /'s in the filename.
So, try this:
for /f "tokens=1-4 delims=/ " %%i in ...
Posted in Script | 3 Comments »
Wednesday, March 19th, 2008
I was recently asked how to modify the rdp permissions on a large number of Windows 2000 SP4 servers running in Remote Admin mode. Well, normally Id make use of WMI and make the changes using Win32_TSPermissionsSetting class. Unfortunatly this class is not available in Windows 2000.
To get around this issue in ...
Posted in Script, Windows 2000, terminal server | 4 Comments »