Search found 7 matches
- 25 Jul 2011 08:45
- Forum: DOS Batch Forum
- Topic: [Solved] find or findstr prompt issue
- Replies: 11
- Views: 13536
Re: find or findstr prompt issue
bouchta if you are like jeb or dbenham who tries always to find solution native cmdly,then be prepared for a long journey where you will start travelling to world forums till you have a looooooooooong white beard and walking on wooden stick,nice rides fill all over your face following the misleader...
- 24 Jul 2011 14:23
- Forum: DOS Batch Forum
- Topic: [Solved] find or findstr prompt issue
- Replies: 11
- Views: 13536
Re: find or findstr prompt issue
Cheeeer up
- 24 Jul 2011 11:37
- Forum: DOS Batch Forum
- Topic: [Solved] find or findstr prompt issue
- Replies: 11
- Views: 13536
Re: find or findstr prompt issue
I'm trying to imagine a scenario where your concern is valid simply the input source can be unkown : input may come through the pipe or parameters or both Example: echo 100 200|random.cmd or random.cmd 100 200 or even echo 100 200|random.cmd outvar surely testing for parameters is easy no problem i...
- 24 Jul 2011 04:05
- Forum: DOS Batch Forum
- Topic: [Solved] find or findstr prompt issue
- Replies: 11
- Views: 13536
Re: find or findstr prompt issue
' You mean ? echo.hello |2>&1 >nul find "hello" &&echo.yes ||echo.no no you have entered input with echo.hello the find or findstr prompt appear when no input is supplied like this test this line and you will be prompted to enter useless search string that will do nothing to y...
- 23 Jul 2011 12:11
- Forum: DOS Batch Forum
- Topic: [Solved] find or findstr prompt issue
- Replies: 11
- Views: 13536
[Solved] find or findstr prompt issue
is there a way to suppress the find or findstr prompt in case no input is detected by those application as this will stop any further processing and leaving you in the prompt entering helpless key strokes. if this prompt is suppressed thus this will help to continue the batch file processing or doin...
- 23 Jul 2011 05:49
- Forum: DOS Batch Forum
- Topic: running batch file without extension
- Replies: 3
- Views: 7983
Re: running batch file without extension
Have you tried it? i really tried harder to run it,trying to pass the script file to cmd.exe as a parameter,it just start the file without interpreting it or start the cmd itself But I think the question is, does a batch file have to have a .BAT or .CMD extension in order for it to be interpreted a...
- 22 Jul 2011 14:48
- Forum: DOS Batch Forum
- Topic: running batch file without extension
- Replies: 3
- Views: 7983
running batch file without extension
please is there a way to run a batch file without the trailing .bat or .exe or any other extension than .bat or .cmd like
is it possible
thanks
Code: Select all
cmd.exe "c:\imcmdfile"
cmd.exe "c:\cmdfile.whateverextension"
is it possible
thanks