Search found 511 matches
- 19 Oct 2020 03:05
- Forum: DOS Batch Forum
- Topic: [How-To] Hide, minimize, or show a window (PowerShell hybrid)
- Replies: 2
- Views: 7154
Re: [How-To] Hide, minimize, or show a window (PowerShell hybrid)
Once I've tried something similar with a C# hybrid - https://github.com/npocmaka/batch.scrip ... owMode.bat
- 06 Oct 2020 12:41
- Forum: DOS Batch Forum
- Topic: Output messages I can't invoke.
- Replies: 2
- Views: 5444
Re: Output messages I can't invoke.
https://github.com/shaswata56/WindowsXP/blob/master/base/cmd/cmdmsg.mc here are the message ids that can be searched in the repository for some insights. Since windows vista these messages are stored in the .mui files in order to achieve some localisation. Looks like the process id can be printed in...
- 04 Sep 2020 02:07
- Forum: DOS Batch Forum
- Topic: new way for downloading files
- Replies: 4
- Views: 4848
- 05 Jun 2020 12:26
- Forum: DOS Batch Forum
- Topic: Batch wont display anything on my new PC???
- Replies: 5
- Views: 6209
Re: Batch wont display anything on my new PC???
try with the console properties->terminal and try to use separate colors.
- 19 May 2020 13:28
- Forum: DOS Batch Forum
- Topic: pktmon.exe
- Replies: 7
- Views: 6761
Re: pktmon.exe
Very useful and very dangerous at the same time as a compromised system on a network can now automatically hack the network with the right batch file. :shock: That's a bit misleading. You can snoop on traffic, but you can't inherently do anything with it. It's like Wireshark. But in the article, th...
- 19 May 2020 04:13
- Forum: DOS Batch Forum
- Topic: pktmon.exe
- Replies: 7
- Views: 6761
pktmon.exe
There's a new command line tool in windows 10 that I've missed and looks interesting:
https://www.bleepingcomputer.com/news/m ... ow-to-use/
https://www.bleepingcomputer.com/news/m ... ow-to-use/
- 29 Apr 2020 07:41
- Forum: DOS Batch Forum
- Topic: Can SET be filled by a command?
- Replies: 7
- Views: 8083
Re: Can SET be filled by a command?
the common way is to use for /f:
Code: Select all
for /f "tokens=* delims=" %%# in ('myapp.exe input.pdf') do set "count=%%#"
echo %count%
- 28 Apr 2020 02:28
- Forum: DOS Batch Forum
- Topic: more tricks with certutil
- Replies: 13
- Views: 37224
Re: more tricks with certutil
downloading files with certutil is no more possible: certutil.exe -urlcache -split -f "https://download.sysinternals.com/files/PSTools.zip" pstools.zip As certutil has access to sensitive directories it was able to download (and overwrite) files in system directories this way of downloading is now t...
- 18 Apr 2020 10:19
- Forum: DOS Batch Forum
- Topic: mshta and javascript
- Replies: 31
- Views: 68487
Re: mshta and javascript
The code you've posted will work. But calling it without 'dedicated' file will not. Try this snipped by dbenham: @echo off setlocal :: Define simple macros to support JavaScript within batch set "beginJS=mshta "javascript:close(new ActiveXObject('Scripting.FileSystemObject').GetStandardStream(1).Wri...
- 18 Apr 2020 03:16
- Forum: DOS Batch Forum
- Topic: mshta and javascript
- Replies: 31
- Views: 68487
Re: mshta and javascript
Unfortunately GetObject("winmgmts:") does not work anymore from mshta and is detected as a thread . I'm almost sure some naughty boy has read this thread and use it to do some bad things .
- 18 Apr 2020 01:39
- Forum: DOS Batch Forum
- Topic: command prompt in windows 10
- Replies: 37
- Views: 40428
Re: command prompt in windows 10
You can enable it with powershell or dism:
https://docs.microsoft.com/en-us/window ... l_firstuse
- 17 Apr 2020 14:08
- Forum: DOS Batch Forum
- Topic: command prompt in windows 10
- Replies: 37
- Views: 40428
Re: command prompt in windows 10
TAR and CURL are now part of windows 10 - https://techcommunity.microsoft.com/t5/ ... a-p/382409
- 04 Apr 2020 06:30
- Forum: DOS Batch Forum
- Topic: does this happen only to me?
- Replies: 4
- Views: 4569
Re: does this happen only to me?
Ok.
Thanks for the replies.
Thanks for the replies.
- 03 Apr 2020 08:55
- Forum: DOS Batch Forum
- Topic: does this happen only to me?
- Replies: 4
- Views: 4569
Re: does this happen only to me?
Ok. Happens when i Use "legacy console" from the properties and the command help uses "press any key to continue"
- 03 Apr 2020 06:37
- Forum: DOS Batch Forum
- Topic: does this happen only to me?
- Replies: 4
- Views: 4569
does this happen only to me?
when I try to print the help message of setlocal in the console it crashes.
windows version - 10.0.18363.752 x64, version of the cmd.exe - 10.0.18362.449
This could be a known issue but I'm seeing it now.
windows version - 10.0.18363.752 x64, version of the cmd.exe - 10.0.18362.449
This could be a known issue but I'm seeing it now.