Search found 511 matches

by npocmaka_
01 Aug 2018 05:39
Forum: DOS Batch Forum
Topic: self-compiled .net hybrids
Replies: 25
Views: 84648

Re: self-compiled .net hybrids

Probably the inline tasks for msbuild will remain the best method for .net hybridization. But this will require .net framework 4.6 (can it be installed on something different than windows 10?) so it is not so portable. Using c# without msbuild will produce redundant output because of the '// 2>nul||...
by npocmaka_
01 Aug 2018 01:17
Forum: DOS Batch Forum
Topic: Reading a hidden password via a FINDSTR bug
Replies: 10
Views: 11996

Re: Reading a hidden password via a FINDSTR bug

Cool :!:

Works on windows 10 too.
by npocmaka_
14 Jul 2018 15:09
Forum: DOS Batch Forum
Topic: dir *3*.* does not work as expected
Replies: 3
Views: 4135

Re: dir *3*.* does not work as expected

It checks also the short file names.
by npocmaka_
24 May 2018 13:05
Forum: DOS Batch Forum
Topic: BAT to Check shortcut links work and allow quick editting?
Replies: 5
Views: 5152

Re: BAT to Check shortcut links work and allow quick editting?

ok.

I thought that the help message is descriptive enough.
by npocmaka_
24 May 2018 08:48
Forum: DOS Batch Forum
Topic: BAT to Check shortcut links work and allow quick editting?
Replies: 5
Views: 5152

Re: BAT to Check shortcut links work and allow quick editting?

Try with shortcutjs.bat May be something like: for %%a in "tokens=1* delims=:" %%a in ('shortcutjs.bat -examine "some.lnk"^|find /i "Target:"') do ( if not exist "%%~fb" echo target does not exist if not exist "%%~dp" echo target directory does not exist if exist "%%~fb" echo looks ok? )
by npocmaka_
19 May 2018 19:35
Forum: DOS Batch Forum
Topic: Any other bat to exe converters/wrappers?
Replies: 11
Views: 9697

Re: Any other bat to exe converters/wrappers?

https://stackoverflow.com/questions/281 ... arty-tools

But there's now way to have the same performance as a pure bat file.
by npocmaka_
02 May 2018 05:53
Forum: DOS Batch Forum
Topic: Win 10 Startup Batchfile doesn't work
Replies: 1
Views: 2561

Re: Win 10 Startup Batchfile doesn't work

use SCHTASKS:

Code: Select all

SCHTASKS /Create /SC ONLOGON  /TN TASK_NAME  /TR "C:\some.bat" /RU %USERNAME%  /F /RL HIGHEST
or

Code: Select all

SCHTASKS /Create /SC ONSTART  /TN TASK_NAME  /TR "C:\some.bat" /RU %USERNAME%  /F /RL HIGHEST
though to create the task you'll need a console session with admin privileges.
by npocmaka_
02 May 2018 01:38
Forum: DOS Batch Forum
Topic: [Info] Saving current codepage
Replies: 13
Views: 13075

Re: [Info] Saving current codepage

what about mode command?
Itс results are aligned In columns and eventually you'll be able to get the code page using a substring and numbers.
by npocmaka_
26 Apr 2018 06:07
Forum: DOS Batch Forum
Topic: more tricks with certutil
Replies: 13
Views: 35695

more tricks with certutil

Here the SO user showed me a not so well documented additional switch of the certutil -encodehex. So you can pass an additional number as a format flag. Here they are: certutil -encodehex -f strings64.exe strings12.hex 12 - one line HEX value without spaces , columns ,addresses certutil -encodehex ...
by npocmaka_
13 Apr 2018 01:37
Forum: DOS Batch Forum
Topic: you can download files with certutil
Replies: 9
Views: 35817

Re: you can download files with certutil

miskox wrote:
13 Apr 2018 00:19
Update:

target folders must exist (the same goes for BITS).

Saso
But unlike bitsadmin works with relative paths.
by npocmaka_
09 Apr 2018 10:14
Forum: DOS Batch Forum
Topic: you can download files with certutil
Replies: 9
Views: 35817

you can download files with certutil

https://groups.google.com/forum/#!topic ... %5B1-25%5D

Code: Select all

certutil.exe -urlcache -split -f "https://download.sysinternals.com/files/PSTools.zip" pstools.zip
by npocmaka_
12 Mar 2018 10:50
Forum: DOS Batch Forum
Topic: How to create links in automatic?
Replies: 8
Views: 7811

Re: How to create links in automatic?

check this : https://github.com/npocmaka/batch.scrip ... tcutJS.bat
I hope the help message is descriptive enough.Besides the standard functionality the linked tool also can turn the 'Run As Administrator' on and off.