Search found 10 matches

by war59312
10 Feb 2017 08:28
Forum: DOS Batch Forum
Topic: jTimestamp.bat date/time utility v2.1 - Replacement for getTimestamp.bat
Replies: 26
Views: 34599

Re: jTimestamp.bat date/time utility - Replacement for getTimestamp.bat

Whoops, I'm blind. Thank you. Edit: Well, still off by 1 second often: REM Get Script Start Time Using jTimestamp.cmd CALL jTimestamp -f {ums} -r t1 REM Fancy Time Stamp for /F "tokens=*" %%a in ( 'jTimestamp -d %t1% /F " {WKD} {MTH} {D}, {yyyy} {H12}:{NN}:{SS}{PM}"' ) do ( set T...
by war59312
09 Feb 2017 15:12
Forum: DOS Batch Forum
Topic: How To Detect If AVG exe Really Runs (Solving An AVG Install Issue) ?
Replies: 4
Views: 5320

Re: How To Detect If AVG exe Really Runs (Solving An AVG Install Issue) ?

I did, their "solution" was to fix each install by hand. By running their AVG Remover program. Ha! Falls more often that in succeeds. Their tech support (support! - ha - as if) like most AV companies is useless. So I'm figuring it out for them. Like I said I already figured most of it out....
by war59312
09 Feb 2017 15:07
Forum: DOS Batch Forum
Topic: jTimestamp.bat date/time utility v2.1 - Replacement for getTimestamp.bat
Replies: 26
Views: 34599

Re: jTimestamp.bat date/time utility - Replacement for getTimestamp.bat

Mind you we have computers dated as far back as Windows 95 and up to Windows 10. Well I am going to scream foul there. Pretty sure a lot of your script will not work on Windows 95. Also, AVG is no longer supported on Win 9x as far as I can tell on their website. What I've posted is just part of the...
by war59312
09 Feb 2017 14:28
Forum: DOS Batch Forum
Topic: jTimestamp.bat date/time utility v2.1 - Replacement for getTimestamp.bat
Replies: 26
Views: 34599

Re: jTimestamp.bat date/time utility - Replacement for getTimestamp.bat

You seriously do not understand why your displayed time is not the same as your calculated time? Only thing I could think of is that it sometimes takes a little extra time to process the command and can roll over a bit to the next second. Was just hoping something could be down about it. No? Or did...
by war59312
09 Feb 2017 14:23
Forum: DOS Batch Forum
Topic: jTimestamp.bat date/time utility v2.1 - Replacement for getTimestamp.bat
Replies: 26
Views: 34599

Re: jTimestamp.bat date/time utility - Replacement for getTimestamp.bat

Squashman wrote:You know there is an environmental variable called computername already. No need to run the hostname command.
I found that it did not always work for whatever reason and hostname has worked every time.

Mind you we have computers dated as far back as Windows 95 and up to Windows 10.
by war59312
09 Feb 2017 14:17
Forum: DOS Batch Forum
Topic: How To Detect If AVG exe Really Runs (Solving An AVG Install Issue) ?
Replies: 4
Views: 5320

Re: How To Detect If AVG exe Really Runs (Solving An AVG Install Issue) ?

Already using Remote Administration. Thank you any how. It sucks! 99% of the time it fails to remove bad versions of AVG. Even their crappy AVG Remover fails. I've solved that problem. My script fixes that problem. My issue is just confirming that the install went successfully in the script I create...
by war59312
09 Feb 2017 12:51
Forum: DOS Batch Forum
Topic: How To Detect If AVG exe Really Runs (Solving An AVG Install Issue) ?
Replies: 4
Views: 5320

How To Detect If AVG exe Really Runs (Solving An AVG Install Issue) ?

Hi, AVG is such a terrible product, but the government agency I work for has already paid for it for the next 2 years, so I'm stuck with it. Anyways... I've found 66 different versions of AVG installed on our PCs. Ouch! I've written a huge script to try and force the removal of AVG and reinstall it....
by war59312
09 Feb 2017 11:20
Forum: DOS Batch Forum
Topic: jTimestamp.bat date/time utility v2.1 - Replacement for getTimestamp.bat
Replies: 26
Views: 34599

Re: jTimestamp.bat date/time utility - Replacement for getTimestamp.bat

Would be great if able to make that show 4:26pm when zero seconds past. That is, hide when zeros. And I don't mean padding. I'd still like to see "4:26:03pm" for example. Sorry. It could be done, but that is not a feature I am interested in supporting. You could get the value you want eas...
by war59312
07 Feb 2017 20:49
Forum: DOS Batch Forum
Topic: jTimestamp.bat date/time utility v2.1 - Replacement for getTimestamp.bat
Replies: 26
Views: 34599

Re: jTimestamp.bat date/time utility - Replacement for getTimestamp.bat

Also, I've been using this in my scripts: REM Get Script Start Time Using jTimestamp.cmd CALL jTimestamp -f {ums} -r t1 REM Get Start Time for /F "tokens=1-4 delims=:.," %%a in ("%time%") do ( set /A "start=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100" ) REM ...
by war59312
07 Feb 2017 20:27
Forum: DOS Batch Forum
Topic: jTimestamp.bat date/time utility v2.1 - Replacement for getTimestamp.bat
Replies: 26
Views: 34599

Re: jTimestamp.bat date/time utility - Replacement for getTimestamp.bat

Very nice. Thank you! I'm using: CALL jTimestamp /F " {WKD} {MTH} {D}, {yyyy} {H12}:{NN}:{S}{PM}" Simple enough, sample output of "Tue Feb 7, 2017 4:26: 00 pm". Would be great if able to make that show 4:26pm when zero seconds past. That is, hide when zeros. And I don't mean padd...