ICA Finder

When in Citrix it could be handy to know what ICA called you when you are going through the login sequence – when usrlgon.cmd gets called – you dont really know that even still.  So this code does it for you.  Written in MS VS C++ and tested in PS 4 – it works a s a DOS type command –

icafinder <STRING> where the string is the name of an ICA.  If the ICAfinder detects a string its exit code will be 1 and if not 0 meaning you can include it in an command file – eg

D:\Admin\icafinder.exe Current
If ERRORLEVEL  1 Goto Found
If ERRORLEVEL  0 Goto NORMALUSER

Where Current is a portion of say an ICA File – #NLS Explorer Current

I based the app on the Citrix Example and you can download here.

www.dhrobertson.com/icafinder

Use Microsoft Visual C++ 2005 and use the command line… nmake -f makefile.txt – should work… might need a bit of tweaking

Days like these – An extract from Byrons Journal

This night got into my new apartments, rented of Lord Althorpe, on a lease of seven years. Spacious, and room for my books and sabres. In the house, too, another advantage. The last few days, or whole week, have been very abstemious, regular in exercise, and yet very unwell.

Yesterday, dined tete-a-tete at the Cocoa with Scrope Davies–sat from six till midnight–drank between us one bottle of champagne and six of claret, neither of which wines ever affect me. Offered to take Scrope home in my carriage; but he was tipsy and pious, and I was obliged to leave him on his knees praying to I know not what purpose or pagod. No headache, nor sickness, that night nor to-day. Got up, if any thing, earlier than usual–sparred with Jackson ad sudorem, and have been much better in health than for many days. I have heard nothing more from Scrope. Yesterday paid him four thousand eight hundred pounds, a debt of some standing, and which I wished to have paid before. My mind is much relieved by the removal of that debit….