Search found 357 matches

by alan_b
16 Jan 2010 14:10
Forum: DOS Batch Forum
Topic: SPAM ALERT via P.M.
Replies: 6
Views: 7687

Thanks.
Good to know.

Alan
by alan_b
16 Jan 2010 08:51
Forum: DOS Batch Forum
Topic: strLen Subroutine in Windows 2000 doesn't work
Replies: 7
Views: 9115

"SET /A ..." is not understood by ancient Command.com "SET /A ..." is understood by CMD.EXE Server 2000 and XP have different NTFS systems - see m Is it possible that Server 2000 and XP also have different CMD.EXE, and both systems understand "SET /A ...", but in differ...
by alan_b
16 Jan 2010 08:08
Forum: DOS Batch Forum
Topic: SPAM ALERT via P.M.
Replies: 6
Views: 7687

Thanks for confirming my fears.

I would be interested in knowing the consequences of clicking the link,
but caution / fear prevents me from doing so ! !

Alan
by alan_b
16 Jan 2010 05:24
Forum: DOS Batch Forum
Topic: Clear Contents of a Log File using Batch Script
Replies: 3
Views: 7692

Try this :- START CMD.EXE /C "ping -w 40 -n 100 127.0.0.1 >> test.txt" Whilst the second CMD was running "ping", I gave the primary CMD two commands :- C:\Documents and Settings\Dad>type test.txt Pinging 127.0.0.1 with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time<1ms TTL...
by alan_b
16 Jan 2010 04:49
Forum: DOS Batch Forum
Topic: vbscript vs dos
Replies: 4
Views: 6176

Example where DOS cannot work :- I needed to know the time interval between the modifications of several files. The DOS command DIR gave me date and hours and minutes, but no seconds. I had to use VB script to get the time resolved down to 1 second. N.B. If I only need a time resolution down to 1 mi...
by alan_b
16 Jan 2010 04:27
Forum: DOS Batch Forum
Topic: Octal Decimal and Leading Zeros
Replies: 5
Views: 10710

Another benefit of starting at 1000etc is very simple sorting. I often create a log file when a batch script runs, and once I had to sort the lines of text :- What should have been a sequence from 1 to 12 became 1, 10, 11, 12, 2. 3, 4, 5, 6, 7, 8, 9 Since then I prefer to always start at 1000 just i...
by alan_b
16 Jan 2010 03:53
Forum: DOS Batch Forum
Topic: SPAM ALERT via P.M.
Replies: 6
Views: 7687

SPAM ALERT via P.M.

I have just received a P.M. from someone who joined two days ago. Message was Hello friend, i found you m u n a r o . c o . c c /******/ n.b. I masked my personal identity with ****** I have NOT responded nor clicked. I googled and got two results with junaro.co.cc "I found you" Has everyo...
by alan_b
11 Dec 2009 06:40
Forum: DOS Batch Forum
Topic: ECHO. FAILS to give text or blank line - Instead use ECHO/
Replies: 44
Views: 210538

Thank you for your response. ECHO+ is not safe. Contents of ECHO_DOT.BAT @echo off ECHO About to issue command ECHO+ A B C D E F ECHO+ A B C D E F ECHO Have now issued command ECHO+ A B C D E F PAUSE NORMAL consequence of ECHO_DOT.BAT About to issue command ECHO+ A B C D E F A B C D E F Have now iss...
by alan_b
10 Dec 2009 16:22
Forum: DOS Batch Forum
Topic: ECHO. FAILS to give text or blank line - Instead use ECHO/
Replies: 44
Views: 210538

I agree that a file called "echo" MAY cause problems, but feel it is inappropriate for DosTips to needlessly punish an innocent user of a batch script that happens to visit a multiplicity of folders to purge junk that was left behind when a security program was removed. After installing Co...
by alan_b
09 Dec 2009 11:19
Forum: DOS Batch Forum
Topic: ECHO. FAILS to give text or blank line - Instead use ECHO/
Replies: 44
Views: 210538

ECHO. FAILS to give text or blank line - Instead use ECHO/

The following tip is unreliable :- m Also you may fail to get blank space BEFORE text from "ECHO. text" Instead of an empty line, or " text", it may instead announce 'echo.' is not recognized as an internal or external command, operable program or batch file. The above error happ...
by alan_b
31 Dec 2008 15:01
Forum: DOS Batch Forum
Topic: Help: Batch file running unexpectedly slowly
Replies: 3
Views: 7523

I will accept that to be pedantically correct, it was a "possible question", but it is impossible to answer without wasting an unacceptable amount of time and effort due to a totally inadequate definition of the situation, which I was prompting for. I do not know what he meant by "whe...
by alan_b
04 Oct 2008 10:21
Forum: DOS Batch Forum
Topic: Help: Batch file running unexpectedly slowly
Replies: 3
Views: 7523

Impossible question. You will make it much easier to answer an impossible question if you give extra information :- What is testprog ? What is its complete name, e.g. testprog.com, testprog.exe, testprog.bat etc. If it is a *.BAT or *.CMD file you should post the complete file. Exactly what are the ...