Search found 910 matches

by ShadowThief
21 Jan 2020 04:24
Forum: DOS Batch Forum
Topic: right click command line help
Replies: 4
Views: 56

Re: right click command line help

What program are you using? sc.exe is already an executable that's built into Windows that controls system services, so I'm having a hard time Googling what you're using. Just guessing wildly here because I don't have all of the information that I need, your ending quote is in the wrong place. Inste...
by ShadowThief
17 Nov 2019 16:08
Forum: DOS Batch Forum
Topic: I need help
Replies: 15
Views: 1079

Re: I need help

aGerman wrote:
17 Nov 2019 13:45
Seems you are actually talking about DOS. Can't recall what opportunities you have on DOS to change binary data. But I'm afraid you can't do that using Batch scripting.

Steffen
I'm pretty sure the only option for something that old is DEBUG.exe
by ShadowThief
22 Oct 2019 05:56
Forum: DOS Batch Forum
Topic: [Solved] hELP
Replies: 5
Views: 4788

Re: hELP

Get rid of that second setlocal enabledelayedexpansion and following endlocal; you don't need them and that's what's breaking the script
by ShadowThief
16 Oct 2019 17:02
Forum: DOS Batch Forum
Topic: How to do change "Terminate batch job (Y/N)?"
Replies: 7
Views: 5603

Re: How to do change "Terminate batch job (Y/N)?"

It's built into cmd.exe; you'd have to hex edit the executable to have it return a different string.
by ShadowThief
30 Sep 2019 18:42
Forum: DOS Batch Forum
Topic: Enabling the internal debug outputs of cmd.exe
Replies: 17
Views: 14889

Re: Enabling the internal debug outputs of cmd.exe

Yesterday my Windows 10 home updated to win version 1903 (build 18362.387) and i noticed that enabling debug stopped working. My pc was kind of problematic one because it refused to install that a long time claiming the "Intel Rapid Store Technology (Intel RST)" must be updated first, which was odd...
by ShadowThief
19 Sep 2019 19:32
Forum: DOS Batch Forum
Topic: how to check file exists or not : batch script
Replies: 2
Views: 4799

Re: how to check file exists or not : batch script

Code: Select all

If exist file.txt (
    echo File exists
) else (
     echo File does not exist
 )
by ShadowThief
17 Sep 2019 10:46
Forum: DOS Batch Forum
Topic: press no on external msgbox with yesno option
Replies: 3
Views: 4971

Re: press no on external msgbox with yesno option

You can't use batch to interact with GUIs.
by ShadowThief
17 Sep 2019 10:37
Forum: DOS Batch Forum
Topic: Looking for a specific book
Replies: 16
Views: 6294

Re: Looking for a specific book

I don't know why you're so set on this particular book. There are no books about advanced modern batch techniques (you'll get some about advanced DOS, but that won't help you in 2019) and there are certainly no upcoming books about batch, since pretty much everybody has moved on to PowerShell. If yo...
by ShadowThief
16 Sep 2019 21:10
Forum: DOS Batch Forum
Topic: Wait Process Window to be Activate
Replies: 4
Views: 2722

Re: Wait Process Window to be Activate

I take it to mean "has keyboard focus"
by ShadowThief
16 Sep 2019 10:22
Forum: DOS Batch Forum
Topic: Wait Process Window to be Activate
Replies: 4
Views: 2722

Re: Wait Process Window to be Activate

I think they mean they want to wait for the window to be active
by ShadowThief
08 Sep 2019 10:08
Forum: DOS Batch Forum
Topic: Looking for a specific book
Replies: 16
Views: 6294

Re: Looking for a specific book

No editor on the planet worth their salt would allow a title with the phrase "Advanced Learning;" it simply isn't grammatical. Possibilities in case the book wasn't red: Advanced Batch File Programming Batchography: The Art of Batch Files Programming (this is the only batch book that I'm aware of th...
by ShadowThief
06 Sep 2019 07:49
Forum: DOS Batch Forum
Topic: Looking for a specific book
Replies: 16
Views: 6294

Re: Looking for a specific book

Possibilities assuming your brain autocorrected "DOS" to "batch": A Concise Introduction to DOS Undocumented DOS: A Programmer's Guide to Reserved MS-DOS Functions and Data Structures Peter Norton's DOS Guide Possibilities assuming you got the languages wrong entirely: Microsoft PowerShell, VBScript...
by ShadowThief
06 Sep 2019 07:32
Forum: DOS Batch Forum
Topic: Looking for a specific book
Replies: 16
Views: 6294

Re: Looking for a specific book

What year did you read this book in? What language was it in? What country were you in?
by ShadowThief
27 Aug 2019 05:29
Forum: DOS Batch Forum
Topic: SCRIPT help. for syntex problem
Replies: 4
Views: 2186

Re: SCRIPT help. for syntex problem

You never enable delayed expansion anywhere, so !rc! doesn't mean anything to the interpreter.
by ShadowThief
27 Aug 2019 03:08
Forum: DOS Batch Forum
Topic: SCRIPT help. for syntex problem
Replies: 4
Views: 2186

Re: SCRIPT help. for syntex problem

Without seeing the context that this snippet is in, it's impossible to say. Please post all of the code.