Search found 516 matches
- 04 Oct 2017 08:10
- Forum: DOS Batch Forum
- Topic: Image processing/effects/...
- Replies: 1
- Views: 3085
Image processing/effects/...
Here are few tools that use Wia.image : m For reference I've used this: https://msdn.microsoft.com/en-us/library/windows/desktop/ms630819(v=vs.85).aspx Still I have no idea how to proceed with the ARGB filter (???).Soon I'll add stamp , exif editing and so on. Despite the script share a lot of code ...
- 02 Oct 2017 14:04
- Forum: DOS Batch Forum
- Topic: Running cmd from address bar is buggy.
- Replies: 2
- Views: 3980
Re: Running cmd from address bar is buggy.
Squashman wrote:I put your examples in a batch file and did not get the same results running it from address bar on Windows 7 Pro. It executed like a normal batch file.
I'm with win 8.1 pro . Later I can try with win10.
- 02 Oct 2017 13:37
- Forum: DOS Batch Forum
- Topic: Running cmd from address bar is buggy.
- Replies: 2
- Views: 3980
Running cmd from address bar is buggy.
You might know that you can run a program listed in the %path% in a certain dir by tiping its name in the address bar in a certain folder. But running the cmd in this way seems to be buggy. Examples: set /p= The system cannot find message text for message number 0x2371 in the message file for Applic...
- 11 Sep 2017 05:29
- Forum: DOS Batch Forum
- Topic: When can I use && and || syax?
- Replies: 8
- Views: 19383
Re: When can I use && and || syax?
Btw . Why with pipe and conditional execution operator I can create 4 cmd contexts? echo 1:%cmdcmdline% >&2 && echo 2:%cmdc^mdline% >&2 | echo 3:%cmd^cmdline% & echo 4:%cmdcmdline% output is: 1:"cmd.exe" /s /k pushd "C:\test" 2:C:\WINDOWS\system32\cmd.exe /S /...
- 11 Sep 2017 02:23
- Forum: DOS Batch Forum
- Topic: When can I use && and || syax?
- Replies: 8
- Views: 19383
Re: When can I use && and || syax?
you can also use call: call ErrorReturn.cmd && ECHO Success call ErrorReturn.cmd || ECHO Failure or pipe (though this is not the preferable way to do it) break| ErrorReturn.cmd && ECHO Success break| ErrorReturn.cmd || ECHO Failure The errorlevel is evaluated after the whole line is ...
- 11 Aug 2017 19:53
- Forum: DOS Batch Forum
- Topic: commands to change CmdPrompt buffer size?
- Replies: 9
- Views: 14624
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: 3951
- 02 Aug 2017 15:49
- Forum: DOS Batch Forum
- Topic: Search replace .xml file
- Replies: 7
- Views: 7060
- 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: 3758
- 06 Jul 2017 05:16
- Forum: DOS Batch Forum
- Topic: Original batch file cmd window to other window jump
- Replies: 7
- Views: 8650
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: 5350
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: 21092
- 27 Jun 2017 23:50
- Forum: DOS Batch Forum
- Topic: Delims in For loop not working as expected
- Replies: 2
- Views: 3974
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: 6796
- 06 Apr 2017 15:38
- Forum: DOS Batch Forum
- Topic: Download *.ppm file from the Web?
- Replies: 3
- Views: 5494
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