Category O/S

How to Print a Windows Directory

Need to print a windows directory? Here’s how: 1. Open up notepad 2. paste this text in Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\printdir] @=”Print Directory” [HKEY_CLASSES_ROOT\Directory\shell\printdir\command] @=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,70,00,72,00,69,\ 00,6e,00,74,00,64,00,69,00,72,00,2e,00,62,00,61,00,74,00,20,00,22,00,25,00,\ 31,00,22,00,00,00 3. Save file as printdir.reg 4. Open up a new notepad…

SELECT permission denied on object ‘USERS’, database ‘qcsiteadmin_db’, owner ‘dbo’

How to resolve this error: [Mercury][SQLServer JDBC Driver][SQLServer]SELECT permission denied on object ‘USERS’, database ‘qcsiteadmin_db’, owner ‘dbo’.; Stack Trace: java.sql.SQLException: [Mercury][SQLServer JDBC Driver][SQLServer]SELECT permission denied on object ‘USERS’, database ‘qcsiteadmin_db’, owner ‘dbo’. at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source) at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source) The reason…

create new service server 2003

To create a new service in server 2003 or xp you use the sc.exe tool. REMEMBER TO ADD A SPACE AFTER EVERY EQUAL SIGN!!!! THIS IS VERY IMPORTANT! sc create “my service” binPath= “c:\myfile.exe” type= “own” start= “auto” DisplayName= “my…

connect to windows share from a mac

Need to connect to a windows share from Mac OS X Leopard or Snow Leopard? Here’s how to.. 1. Open Finder 2. Menu “Go” -> “Connect to Server” 3. Type in smb://[ip_of_windows_share]/[sharename] 4. Click “connect” 5. When prompted for authentication…

truncate sql log

First off, You CANNOT REVERT this command, so be sure you want to truncate the log! THE QUERY Instructions: Just replace with your DB BACKUP LOG WITH TRUNCATE_ONLY DBCC SHRINKDATABASE( ”, TRUNCATEONLY)

compare two files freeware

Howto: Compare two files using freeware or open source Diffmerge is my favorite program (open source at least) that I use to compare files. From their website: DiffMerge is an application to visually compare and merge files for Windows, Mac…

clear flash cache

How to clear your flash cache To clear specific sites: When you click on the link, you are taken to the adobe site. On the right hand side of the frame, there is a box that will display a…