yonitda,
Indeed findstr shows a "FINDSTR: Search string too long." error when the search string is longer than 127 characters.
The find command doesn't have this limitation.
DOS IT HELP?
If not let me know there are other options
Search found 237 matches
- 26 Sep 2006 21:57
- Forum: DOS Batch Forum
- Topic: Findstr with long strings
- Replies: 1
- Views: 11538
- 23 Sep 2006 20:34
- Forum: DOS Batch Forum
- Topic: any idea howto retrieve the GUID of network card in a script
- Replies: 4
- Views: 13950
- 21 Sep 2006 21:58
- Forum: DOS Batch Forum
- Topic: any idea howto retrieve the GUID of network card in a script
- Replies: 4
- Views: 13950
- 21 Sep 2006 20:36
- Forum: DOS Batch Forum
- Topic: how to indent the outputs in dos batch file
- Replies: 1
- Views: 12281
- 17 Sep 2006 19:55
- Forum: DOS Batch Forum
- Topic: How can I input a name in the same line in CMD Prompt
- Replies: 1
- Views: 9285
- 13 Sep 2006 21:03
- Forum: DOS Batch Forum
- Topic: DIR listing order
- Replies: 3
- Views: 12376
Matice, Go to "Batch Files" "11 - Sorting text with numbers" and download the sortn.bat file. http://www.dostips.com/DtCodeBatchFiles.php#_Toc145951142 Then from a command line pipe the output of a dir command into sortn.bat like this: dir /b|sortn Make sure sortn.bat is accessible if not use the fu...
- 13 Sep 2006 18:05
- Forum: DOS Batch Forum
- Topic: Pulling Windows2003 log files
- Replies: 3
- Views: 13290
- 12 Sep 2006 19:10
- Forum: DOS Batch Forum
- Topic: Pulling Windows2003 log files
- Replies: 3
- Views: 13290
Cooldmitriy Copy the functions :jdate , :date2jdate , and :jdate2date to the end of your batch script. http://www.dostips.com/DtCodeCmdLib.php#jdate http://www.dostips.com/DtCodeCmdLib.php#date2jdate http://www.dostips.com/DtCodeCmdLib.php#jdate2date Then you can calculate the date like this: call:j...
- 15 Jul 2006 20:47
- Forum: DOS Batch Forum
- Topic: double expansion of variables
- Replies: 2
- Views: 12166
dizze, Yes you can, in your case use: call echo.%%c%cols%%% Before executing the line the command interpreter will resolve: %cols% --> value of cols variable %% ------> % Assuming the value of the cols variable is 0 and the value of c0 is 12345 this means: call echo.%%c%cols%%% will be resolved to: ...
- 07 Jun 2006 19:29
- Forum: DOS Batch Forum
- Topic: trying to delete files in one directory older than today
- Replies: 2
- Views: 11863
- 10 May 2006 21:56
- Forum: DOS Batch Forum
- Topic: Moving files based on creation date of parent file
- Replies: 3
- Views: 7633
CameronY Very Interesting ... Add the following function at the end of your batch: GOTO:EOF :CmpFTime op file1 file2 attr1 attr2 -- compares the time of two files :: -- op [in] - compare operator, see 'IF /?', i.e.EQU, NEQ, LSS, LEQ, GTR, GEQ :: -- fileL [in] - file name, left side of compare :: -- ...
- 18 Feb 2006 20:22
- Forum: DOS Batch Forum
- Topic: How to act on the difference of two files?
- Replies: 3
- Views: 7810