Search found 218 matches

by nitt
20 Nov 2011 20:10
Forum: DOS Batch Forum
Topic: Could we have a Bash section?
Replies: 7
Views: 8789

Could we have a Bash section?

I like the community here, and I don't want to change forums. But I'd like a Bash section, since I usually am not on Windows.
Maybe have it as like a sub-section or something, or at least a sticky thread for it? Plz? ◕‿‿◕
by nitt
20 Nov 2011 20:07
Forum: DOS Batch Forum
Topic: help needed with interpreting strings and acting in response
Replies: 46
Views: 38334

Re: PLEASE HELP ME!

You need to provide more specific info, such as: what are you searching? - a file? text in a variable? directory file names? what type of search(es) are you trying to do? - regular expression? simple string match? what have you tried that failed?, hopefully distilled down to the essentials of the p...
by nitt
15 Nov 2011 17:04
Forum: DOS Batch Forum
Topic: Adding a GUI to BATCH file?
Replies: 6
Views: 16258

Re: Adding a GUI to BATCH file?

Ed Dyreen wrote:'
whooptiddy :lol:

WBAT: Dialog boxes for DOS batch: menus, buttons, input fields, checkboxes, radio buttons, list selection
http://www.robvanderwoude.com/batchtools.php

rob's a popular guy, nice site too, so nice I am going to steal some of it.


Meh, I still would rather use HTA files, because I can do all of that natively.
by nitt
12 Nov 2011 21:19
Forum: DOS Batch Forum
Topic: How to make a batch file wait?
Replies: 10
Views: 17777

Re: How to make a batch file wait?

aGerman wrote:You shouldn't use IP address 0 (or 0.0.0.0) since it could be a valid address (belongs to australia). Use 127.0.0.1


No. I disagree. No one has the IP address 0.0.0.0.
by nitt
12 Nov 2011 15:21
Forum: DOS Batch Forum
Topic: How to make a batch file wait?
Replies: 10
Views: 17777

Re: How to make a batch file wait?

Hello I wanted to know how I should go about a line of code that causes my batch file to freeze for x amount of seconds. I am extremely new to batch so please elaborate on how it can be done and how it works please and thanks! Stop false-leading him, everyone. Just simply use: ping 0 -n 5 > nul &qu...
by nitt
12 Nov 2011 10:05
Forum: DOS Batch Forum
Topic: Adding a GUI to BATCH file?
Replies: 6
Views: 16258

Re: Adding a GUI to BATCH file?

Ed Dyreen wrote:Not natively, but since external commands are supported MSG.EXE which creates a messageBox can be called.


You can program a GUI natively. By using HTA files, you can code literally any application you want. You just have to know either JScript or VBScript to go along with it.
by nitt
07 Nov 2011 18:30
Forum: DOS Batch Forum
Topic: Why are there so many bots?
Replies: 3
Views: 5707

Re: Why are there so many bots?

dbenham wrote:
aGerman wrote:However, if you found spam then report the post (if you're logged in you will find an exclamation mark in the lower right corner) or notify me via PM.

I never new that. Now I know what to do when I see it. :)


Such a small little (!). .-.

It should say like "Report" on it or something.
by nitt
17 Oct 2011 13:30
Forum: DOS Batch Forum
Topic: Getting Results From VBScript
Replies: 4
Views: 8939

Re: Getting Results From VBScript

@echo off set body=Do you wish to open Notepad.exe? set title=Alert set type=vbyesno echo x=msgbox("%body%",%type%,"%title%") : wscript.stdout.writeline(x) > ~tmp.vbs for /f "tokens=*" %%a in ('cscript //nologo ~tmp.vbs') do ( set results=%%a ) del ~tmp.vbs if "%r...
by nitt
17 Oct 2011 13:18
Forum: DOS Batch Forum
Topic: Colon Philosophy
Replies: 17
Views: 17994

Re: Colon Philosophy

-_- Is Assembly really the only one you noticed? Did you miss the C++ and Batch example? Actually, I noticed, although I am ignorant of any C language and don't know assembly . Assembly has always fascinated me but I have never had the time to learn. I don't know Assembly, either. But I know a lot ...
by nitt
15 Oct 2011 14:30
Forum: DOS Batch Forum
Topic: help!
Replies: 5
Views: 6259

Re: help!

I AM NEW TO BAT SCRIPT WORLD. MY SCRIPT DOES NOT WANT TO WORK. MY BAT SCRIPT HAS TO start from a path and RECURSIVELY SEARCH ALL THE FILES OF TYPE .TXT THAT HAS THE WORD "MYWORD!" AND WRITE THEIR NAMES TO A LOG FILE. This seems like trollish spam, but I will take it seriously. @echo off d...
by nitt
14 Oct 2011 17:02
Forum: DOS Batch Forum
Topic: Colon Philosophy
Replies: 17
Views: 17994

Re: Colon Philosophy

Rileyh wrote:Nitt,
There is no point in explaining the question in assembly.


-_- Is Assembly really the only one you noticed? Did you miss the C++ and Batch example?

My point was exactly what I said before it, that you never need to use the colon when "going to" a tag.
by nitt
13 Oct 2011 14:07
Forum: DOS Batch Forum
Topic: Colon Philosophy
Replies: 17
Views: 17994

Re: Colon Philosophy

No, I'm not talking about the one connected to your anus, moron! That wasn't that funny... And you never need the colon with tags. Assembly org 100h tag: mov ah, 09h mov dx, msg int 21 jmp tag C++ #include <iostream> int main() { tag: std::cout << "hi"; goto tag; } Batch @echo off :tag ec...
by nitt
09 Oct 2011 19:44
Forum: DOS Batch Forum
Topic: How to Delet all video file format using batch file
Replies: 7
Views: 8028

Re: How to Delet all video file format using batch file

Sorry, but now I'm unsure if I misunderstood your requirement. i need to delet all computer audio video exextensions What does it mean? Do you want to delete each audio or video file? Or does it mean that you want to delete the associations of the file extensions in your registry? Please clarify. R...
by nitt
28 Sep 2011 14:48
Forum: DOS Batch Forum
Topic: We Should Have A Bash Section / Stickied Discussion Thread
Replies: 1
Views: 3654

We Should Have A Bash Section / Stickied Discussion Thread

Because Batch is Windows, and then Linux and Mac both use Bash. Which isn't too different. But I think it would just be neat to have this. OR. A section for suggesting ideas. #!/bin/bash function getRan { ran=$(($RANDOM % $1 + 1)); } function check { input=$(($input)); if [ $input \> $ran ]; then ec...
by nitt
26 Sep 2011 16:00
Forum: DOS Batch Forum
Topic: [solved] Hide keyboard input in a batch
Replies: 13
Views: 85201

Re: [solved] Hide keyboard input in a batch

Sure it would not, 64bit version of Windows have NTVDM emulator removed, and this means no COM files support, as well as any 16bit windows executables. However this could be bypassed using dosbox to launch 16 bit application, but it would be tricky, since dosbox isnt native system application like ...