Tag Archives: windows

Windows 32 (x86) or 64 (AMD64) detection in batch files

While there are a lot of ways to detect for a 64 bit version of windows. you can test for %programFiles(x86)%, but handling the output and writing the IF comparisons is messy. In Batch files, you can easily check for architecture by using the “processor_architecture” variable. x86 versions of windows will have this set to “x86″, [...]
Posted in windows | Also tagged , , , | Leave a comment

Uninstall ALL Versions of WinZip Batch Script

I have been struggling with this for quite a while, and ran into a lot of issues with all of the different versions on our network. There are people with 100 line .vbs scripts to do this, and I think this is much simpler: @echo off REM REM REM    Detects winzip and silently uninstalls REM    There is a un-stoppable pop-up [...]
Posted in windows | Also tagged , , , , , , | Leave a comment

Command line scp from linux(+BSD) to windows.

i traveling and wanted to copy over my logs to find out what was happening on my server. didn’t want to install a client like filezilla or another GUI. Using the command line SCP utility, you can grab remote files securely over SSH. You can grab the executable from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html (pscp.exe is what you want) [...]
Posted in Linux | Also tagged , , | Leave a comment

Conference rooms with outlook and exchange 2007

Exchange Server 2007 allows administrators to create objects such as Mailbox, Contacts, Mail User, and Distribution Groups. Here are the steps needed to create a room mailbox object: Open the Exchange Management Console. Expand Recipient Configuration. Click on Mailbox. In the Mailbox pane, click on New Mailbox… For our purposes, we will pick “room mailbox” This is a mailbox to [...]
Posted in exchange 2007, windows | Also tagged | Leave a comment

Windows XP’s /etc/hosts file

To my surprise, XP has an equivalent to unix’ “/etc/hosts” file. you can find it here: c:\WINDOWS\system32\drivers\etc\hosts’
Posted in windows | Tagged | Leave a comment