Super! Usage ping here - for me this is a wonderful instructive example, many thanks, Antonio!
P.S. But mystery: after all why the author of FC did not provide the obvious key for immediate exit after the first mismatch ??
Search found 16 matches
- 23 Feb 2017 01:15
- Forum: DOS Batch Forum
- Topic: About FC /B - for very large files
- Replies: 9
- Views: 10974
- 21 Feb 2017 14:49
- Forum: DOS Batch Forum
- Topic: About FC /B - for very large files
- Replies: 9
- Views: 10974
Re: About FC /B - for very large files
Antonio, very good idea,
but your variant above is not working as it should
(at least - in my case only, Windows 7):
again - not after first mismatch, but after full scan...
(attachment: files for test)
but your variant above is not working as it should
(at least - in my case only, Windows 7):
again - not after first mismatch, but after full scan...
(attachment: files for test)
- 21 Feb 2017 05:36
- Forum: DOS Batch Forum
- Topic: About FC /B - for very large files
- Replies: 9
- Views: 10974
Re: About FC /B - for very large files
> One way would be to redirect output to NUL
This way does not win time: ERRORLEVEL returns 1 not after first mismatch, but only after the end of scan...
This way does not win time: ERRORLEVEL returns 1 not after first mismatch, but only after the end of scan...
- 20 Feb 2017 18:47
- Forum: DOS Batch Forum
- Topic: About FC /B - for very large files
- Replies: 9
- Views: 10974
About FC /B - for very large files
Hi ! FC.EXE can compare very large files (more than 4 gb), but here is the question about excessive delay in identifying files inequality: does FC.EXE has (an undocumented) key to complete the work immediately after finding the first mismatch ? Or is it possible to get the same result in some other ...
- 26 Jan 2017 20:23
- Forum: DOS Batch Forum
- Topic: About getTimestamp.bat
- Replies: 10
- Views: 10477
Re: About getTimestamp.bat
You're right - I missed, thanks you.
So now I have needful string:
for /f %%a in ('jTimestamp -D "ISO %date_time%"') do set your_date=%%a
Great work, Dave!
So now I have needful string:
for /f %%a in ('jTimestamp -D "ISO %date_time%"') do set your_date=%%a
Great work, Dave!
- 25 Jan 2017 21:23
- Forum: DOS Batch Forum
- Topic: About getTimestamp.bat
- Replies: 10
- Views: 10477
Re: About getTimestamp.bat
Thank you very much, Dave!
Could you also show how to right use jTimestamp to the input value from the initial post of this topic - "2016-11-14T16:09:58.886317071Z" ?
Could you also show how to right use jTimestamp to the input value from the initial post of this topic - "2016-11-14T16:09:58.886317071Z" ?
- 22 Jan 2017 09:20
- Forum: DOS Batch Forum
- Topic: About getTimestamp.bat
- Replies: 10
- Views: 10477
Re: About getTimestamp.bat
it would be great!
- 19 Jan 2017 23:29
- Forum: DOS Batch Forum
- Topic: About getTimestamp.bat
- Replies: 10
- Views: 10477
Re: About getTimestamp.bat
Please delete this my topic, because it turned out that the cause of the error is not in the getTimestamp, but in the periscope downloader, - sorry!
- 19 Jan 2017 09:38
- Forum: DOS Batch Forum
- Topic: About getTimestamp.bat
- Replies: 10
- Views: 10477
Re: About getTimestamp.bat
@Compo
tried: getTimestamp-v2.6 or jTimestamp - can't...
tried: getTimestamp-v2.6 or jTimestamp - can't...
- 19 Jan 2017 03:12
- Forum: DOS Batch Forum
- Topic: About getTimestamp.bat
- Replies: 10
- Views: 10477
About getTimestamp.bat
Dear dbenham , as it turned out, getTimestamp.bat - can handle the format 2016-11-14T08:09:58.886317071-08:00 , but can't handle the format 2016-11-14T16:09:58.886317071Z : after for /f %%a in ('getTimestamp -D "^'%server_date%^'"') do set your_date=%%a we get message "Invalid -D valu...
- 06 Dec 2016 02:27
- Forum: DOS Batch Forum
- Topic: SendMessage.exe: Access to advanced Windows features
- Replies: 19
- Views: 27186
Re: SendMessage.exe: Access to advanced Windows features
> I suppose you wrote a program similiar to this
Much easier: I already had handy self-made program on menu - combination of monitor and "encyclopedia"
If it is interesting - here it is: http://files.rsdn.org/42164/menuspy.zip (screenshot: http://files.rsdn.org/42164/menuspy.png).
Much easier: I already had handy self-made program on menu - combination of monitor and "encyclopedia"
If it is interesting - here it is: http://files.rsdn.org/42164/menuspy.zip (screenshot: http://files.rsdn.org/42164/menuspy.png).
- 06 Dec 2016 00:31
- Forum: DOS Batch Forum
- Topic: SendMessage.exe: Access to advanced Windows features
- Replies: 19
- Views: 27186
Re: SendMessage.exe: Access to advanced Windows features
Hi, Aacini! You wrote: "SC_SCROLL=0xFFF3=65523 is an undocumented value that was researched by S.O. user MC ND." But it would be strange to document this value - it is just menuitem's ID from standard system menu of CMD window: Restore F120 Move F010 Size F000 Minimize F020 Maximize F030 C...
- 13 Jul 2016 21:55
- Forum: DOS Batch Forum
- Topic: Truncate the string
- Replies: 13
- Views: 10613
Re: Truncate the string
@Compo - clear, thanks.
- 12 Jul 2016 10:57
- Forum: DOS Batch Forum
- Topic: Truncate the string
- Replies: 13
- Views: 10613
Re: Truncate the string
Hi Compo,
you wrote
"str2=%str1:*er=%"
instead of
"str2=%str1:er=&rem.%"
and got
"str2=ty67890"
instead of
"str2=12345qw"...
I don't understand - what for?
you wrote
"str2=%str1:*er=%"
instead of
"str2=%str1:er=&rem.%"
and got
"str2=ty67890"
instead of
"str2=12345qw"...
I don't understand - what for?
- 12 Jul 2016 04:56
- Forum: DOS Batch Forum
- Topic: Truncate the string
- Replies: 13
- Views: 10613
Re: Truncate the string
for clarity:
set str1=12345qwerty67890
set str2=%str1:er=&rem.%
set str3=%str1:er=&:%
these concrete str2 and str3 are the same, my question was: but is this always so?
Thanks to aGerman for counterexample.
set str1=12345qwerty67890
set str2=%str1:er=&rem.%
set str3=%str1:er=&:%
these concrete str2 and str3 are the same, my question was: but is this always so?
Thanks to aGerman for counterexample.