Category Scripts

c# delete temporary internet files ignore index.dat

How can you delete temporary internet files and ignore index.dat in c# ? (this refers to C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\ ) System.Diagnostics.Process.Start(“rundll32.exe”, “InetCpl.cpl,ClearMyTracksByProcess 4351”);  // Delete All – Also delete files and settings stored by add-ons parameters that can…

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…

Hudson build notes txt file windows

I had a need to write a .txt file with build details for every build (windows). This involves using environmental variables and executing a windows batch command. Create c:\buildinfo.bat @echo off echo Build number: %1 echo BUILD_ID: %2 echo JOB_NAME:…