| 1. |
Solve : NT4 and %date% and %time% issue? |
|
Answer» I wrote a simple batch file that keeps track of when specific events happen... that is if it worked correctly. Problem is that the log file is only showing the text with no date or time info. I wrote a simple batch file that keeps track of when specific events happen... that is if it worked correctly. Problem is that the log file is only showing the text with no date or time info. Salmon has the answer, but it's likely to be a 32 bit system I gather so this may work to get reliable date and time info: Code: [Select]:: date time using an ascii binary echo off :: Code by Herbert Kleebauer echo [email protected]`0X-`/PPPPPPa(DE(DM(DO(Dh(Ls(Lu(LX(LeZRR]EEEUYRX2Dx=>d_t.com echo 0DxFP,0Xx.t0P,[email protected]$?PIyU WwX0GwUY Wv;ovBX2Gv0ExGIuht6>>d_t.com echo LisqMz`[email protected]`[email protected]?ogBgGG}G?j_egoNOG?w?`gBLksqgG`w?WgBgG>>d_t.com echo G}[email protected][email protected]`LrFuBLyt~vuco{LuKooD?BFHqrIcP>>d_t.com echo _sdDxb1T??=?rILO_sdDqx1T??=?rILO_sdDnl1T??=?rILO_sdD`c1T??>>d_t.com echo =?rILO_sdDgg1T??=?rILO_sdDll1T??=?rILO_sdDrr1T??=??IL?0xxx>>d_t.com d_t.com>d_t.bat call d_t.bat del d_t.com del d_t.bat echo century: %_cy% echo year: %_yr% echo month: %_mo% echo day: %_da% echo hour: %_hh% echo minute: %_mm% echo second: %_ss% I wonder what a corporate IT department might have to say about scripts that inject binary code of unknown provenance? Quote from: Salmon Trout on April 15, 2015, 01:05:14 PM I wonder what a corporate IT department might have to say about scripts that inject binary code of unknown provenance? That's always a good question. I'd also like to know what security updates and precautions are taken on a LAN connected machine that was mothballed when Adam had his first child. Quote I'd also like to know what security updates and precautions are taken on a LAN connected machine that was mothballed when Adam had his first child. This system running NT4 is private LAN with no connection to internet. The fact that it is SP6 vs SP0 is probably to support a feature or code that is run on it. This system was implemented here long before I started in 2009. We even have some systems running OpenVMS on old DEC Alpha 64-bit systems. I asked why not replace 20 year old hardware/systems, and I was told that the cost was in the tens of millions for nation wide and the 20 year old DEC Alpha's are surprisingly very reliable running 24/7/365 for last 20 years. They are definitely getting their moneys worth out of this hardware. Quote from: DaveLembke on April 16, 2015, 11:00:36 AM I asked why not replace 20 year old hardware/systemsBusinesses do not replace systems because they are old. They replace systems when they can no LONGER do business with them. I think that is one thing that sometimes isn't fully understood when we see a Text-terminal at an airport or at a grocery store. Especially considering the human cost- now Stacey, who has been working there for 15 years, has to dump her muscle memory and start over with some new-fangled windows program. Only tangentially related, I suppose. Those OpenVMS systems, THOUGH, are probably running software- replacing them means funding equivalent software for the new system. Was it contracted? who made it? How quickly can a replacement be made? How much will it cost- etc. And the answer will always be that continuing to use the current systems will be cheaper than upgrading them.There are companies that specialize in supporting organisations that are dependent on legacy hardware & software. One I was looking at says their support includes Alpha, Sun Microsystems and VAX servers. I guess there must be lots of this kind of stuff around. |
|