Search found 511 matches
- 11 Aug 2017 19:53
- Forum: DOS Batch Forum
- Topic: commands to change CmdPrompt buffer size?
- Replies: 9
- Views: 11253
Re: commands to change CmdPrompt buffer size?
it can be easy done with embedded .net code (you can choose among c#,jscript.net,vb,powershell) -> https://msdn.microsoft.com/en-us/librar ... e(v=vs.110).aspx
- 07 Aug 2017 11:53
- Forum: DOS Batch Forum
- Topic: jokes time
- Replies: 2
- Views: 3316
- 02 Aug 2017 15:49
- Forum: DOS Batch Forum
- Topic: Search replace .xml file
- Replies: 7
- Views: 6020
- 16 Jul 2017 01:49
- Forum: DOS Batch Forum
- Topic: Anyone know a method for a batch script to determine if it is being called from another batch script?
- Replies: 1
- Views: 2795
- 06 Jul 2017 05:16
- Forum: DOS Batch Forum
- Topic: Original batch file cmd window to other window jump
- Replies: 7
- Views: 6835
Re: Original batch file cmd window to other window jump
you can use AppActivate function from windows shell application object from jscript or vbscript or powershell.
- 05 Jul 2017 04:05
- Forum: DOS Batch Forum
- Topic: || Operator not working with Goto command
- Replies: 4
- Views: 4404
Re: || Operator not working with Goto command
check this - m (the jeb's answer) This behavior is used for heredoc in batch scripts - http://www.dostips.com/forum/viewtopic.php?t=6493 Though in this case you have something like (as I understand it the variable does not exist) goto :||goto :somewherelese but it still works.Just the cmd is out of ...
- 30 Jun 2017 05:48
- Forum: DOS Batch Forum
- Topic: Using batch to make a http request
- Replies: 2
- Views: 19262
- 27 Jun 2017 23:50
- Forum: DOS Batch Forum
- Topic: Delims in For loop not working as expected
- Replies: 2
- Views: 3327
Re: Delims in For loop not working as expected
You need to point out the tokens too:
Code: Select all
@echo off
Setlocal EnableDelayedExpansion
For /f "tokens=1,2* delims=:" %%A IN (DataFile.Tronic) DO (
Set File1=%%A
Set File2=%%B
Set File3=%%C
)
pause
Echo %File1%
Echo %File2%
Echo %File3%
pause
- 07 Apr 2017 05:56
- Forum: DOS Batch Forum
- Topic: Open (second) cmdprompt, execute command and stay open?
- Replies: 6
- Views: 5626
- 06 Apr 2017 15:38
- Forum: DOS Batch Forum
- Topic: Download *.ppm file from the Web?
- Replies: 3
- Views: 4619
Re: Download *.ppm file from the Web?
the link points to https://www.manageengine.com/products/s ... -1_0_0.ppm
then you can check this -> http://stackoverflow.com/questions/2814 ... rnal-tools
then you can check this -> http://stackoverflow.com/questions/2814 ... rnal-tools
- 05 Apr 2017 02:38
- Forum: DOS Batch Forum
- Topic: Output messages I can't invoke.
- Replies: 2
- Views: 5447
Output messages I can't invoke.
Some messages from cmd mui file that I don't know how to reproduce (and I even't don't know if it's possible): An incorrect parameter was entered for the command. The system cannot accept the path or file name requested. The system is out of environment space. (probably if a lot environment variable...
- 05 Apr 2017 01:19
- Forum: DOS Batch Forum
- Topic: diamond.exe is still required 20 years after, curiosity
- Replies: 2
- Views: 4177
Re: diamond.exe is still required 20 years after, curiosity
I can open the image.
Here's the popup with the error(windows 7):
This is something surely must be send to microsoft as a bug. At least in win10 there's a feedback application.
Here's the popup with the error(windows 7):
This is something surely must be send to microsoft as a bug. At least in win10 there's a feedback application.
- 04 Apr 2017 08:33
- Forum: DOS Batch Forum
- Topic: Extract information from a website to txt
- Replies: 9
- Views: 8233
Re: Extract information from a website to txt
You can try with winhttpjs.bat : call winhttpjs.bat "https://www.anisearch.de/anime/9357,tokyo-ghoul" -saveto tokyo-ghoul.txt Though it will not render the javascript. Also the downloaded file probably will be not well-formatted xml and you wont be able to process it with an xml tool. Prob...
- 31 Mar 2017 07:12
- Forum: DOS Batch Forum
- Topic: doskey history behaviour across cmd instances
- Replies: 4
- Views: 5032
Re: doskey history behaviour across cmd instances
I can't reproduce the result of "---- Point4" . Could be something related with the windows version (at the moment I'm using windows 10).It is just showing the history of the main instance. Ok. Actually I can It depends if I use exit or exit /b in the sub session . Edit In matter of fact ...
- 31 Mar 2017 07:05
- Forum: DOS Batch Forum
- Topic: doskey history behaviour across cmd instances
- Replies: 4
- Views: 5032
Re: doskey history behaviour across cmd instances
I can't reproduce the result of "---- Point4" . Could be something related with the windows version (at the moment I'm using windows 10).It is just showing the history of the main instance.