Search found 109 matches

by phillid
26 Dec 2011 03:17
Forum: DOS Batch Forum
Topic: Decoding password letters.
Replies: 4
Views: 4826

Re: Decoding password letters.

Wee bit off topic, but I wrote a simple C program that waited for a key to be pressed and returned the scancode of the key pressed. I then made a vacth script that used a FOR loop to scan a file holding definitions for each scancode relating to any key a-z, A-Z, 0-9, etc, etc. Using this external pr...
by phillid
26 Dec 2011 02:58
Forum: DOS Batch Forum
Topic: The final decider-Linux/Unix or Windows
Replies: 8
Views: 9328

Re: The final decider-Linux/Unix or Windows

I agree with Ed Dyreen on the tips.com proposition. That would allow subdomains like: dos.tips.com batch.tips.com bash.tips.com which are clearly about DOS tips, Batch tips and Bash tips respectively. It keeps the forums separated and everyone in their repective zone(s) and the admin is still just p...
by phillid
04 Dec 2011 03:27
Forum: DOS Batch Forum
Topic: The final decider-Linux/Unix or Windows
Replies: 8
Views: 9328

Re: The final decider-Linux/Unix or Windows

The polls don't work on this forum; I vote Linux. While I don't mind batch at all, it's still heavily based on bash.
by phillid
30 Nov 2011 01:59
Forum: DOS Batch Forum
Topic: Could we have a Bash section?
Replies: 7
Views: 7420

Re: Could we have a Bash section?

Linux/UNIX is superior, if you aren't a pleb who couldn't organise a piss-up at a brewery. Windows holds most of the market share, because Microsoft has money to throw at advertising, and it's got tools that do everything for you. Linux/UNIX users don't like things to be done for them, because it wo...
by phillid
15 Sep 2011 23:11
Forum: DOS Batch Forum
Topic: Email
Replies: 9
Views: 11318

Re: Email

I'm developing a free e-mail sending site. I think there's a limit with my host, but I'm not concerned about it, please don't abuse it, I'm doing it for all you guys

Here it is:
http://batmail.ueuo.com/

It says (or will say) how to use it when you navigate there

-- Phillid
by phillid
15 Sep 2011 23:01
Forum: DOS Batch Forum
Topic: Epic-ish idea!
Replies: 5
Views: 5972

Re: Epic-ish idea!

I'm all for having a wiki, because then the community will be able to add clarity and detail for those who cannot get things as easily

:P

-- Phillid
by phillid
13 Sep 2011 00:38
Forum: DOS Batch Forum
Topic: content check
Replies: 5
Views: 4816

Re: content check

Hello,
You could use:

Code: Select all

findstr /i "hello, world" afile.txt


It will return each line that has 'hello, world' in it.

I think this is what you meant in your question :/

-- Phillid
by phillid
12 Sep 2011 23:38
Forum: DOS Batch Forum
Topic: Help with the "gtr" "lss" etc arguments in the "if" command
Replies: 1
Views: 2823

Re: Help with the "gtr" "lss" etc arguments in the "if" comm

Sure, always happy to help Basically, the arguments you're talking about include: EQU - EQUAL to NEQ - NOT EQUAL to LSS - LESS than LEQ - LESS than OR EQUAL to GTR - GREATER than GEQ - GREATER than or EQUAL to These are called comparison operators. The basic syntax of the if statement is as follows:...
by phillid
29 Aug 2011 00:11
Forum: DOS Batch Forum
Topic: easiest way to recursively copy C: to E: ?
Replies: 2
Views: 3434

Re: easiest way to recursively copy C: to E: ?

I did nearly the same thing a few years back!
I used the xcopy command, you could look up how to use it using xcopy /?

phillid
by phillid
24 Aug 2011 00:42
Forum: DOS Batch Forum
Topic: A CMD lookalike batch file
Replies: 4
Views: 4171

Re: A CMD lookalike batch file

Yeah, yeah. I know. It's good enough to get around the blocking of CMD.exe at my school :D
by phillid
23 Aug 2011 00:59
Forum: DOS Batch Forum
Topic: A CMD lookalike batch file
Replies: 4
Views: 4171

Re: A CMD lookalike batch file

I made a full CMD batch file a while ago because I couldn't use CMD.exe:

Code: Select all

@echo off
:cmdloop
set /p cmd=%cd%^>
%cmd%
goto cmdloop


The only thing it can't do is 'echo off', although that would have a simple fix

Just thougth I'd share this one :D

phillid
by phillid
23 Aug 2011 00:45
Forum: DOS Batch Forum
Topic: "%systemroot%" chages to "C:\windows"
Replies: 8
Views: 11828

Re: "%systemroot%" chages to "C:\windows"

Wouldn't one have to use the '>' or the '>>' symbols as well to put into the file?
by phillid
23 Aug 2011 00:40
Forum: DOS Batch Forum
Topic: How to add a something to start up using batch?
Replies: 2
Views: 3918

Re: How to add a something to start up using batch?

Okeydokey, here's a scirpt that will move the item "runthis.bat" into the current user's start>programs>startup folder: copy runthis.bat "%userprofile%\Start Menu\Programs\Startup\*.*" (EDIT: Changed input filename) Works fine on WinXP, not sure about Win7 or Vista phillid
by phillid
10 Aug 2011 21:18
Forum: DOS Batch Forum
Topic: Send data over internet using TCP connection...
Replies: 2
Views: 3661

Send data over internet using TCP connection...

Hello, all. Just a quick question about sending data over the internet using a batch file. Does anyone know of a pair of programs that let you send data from one computer to the other by giving an IP address and a port AND be able to use it from the command line, so I could use them to create a batc...
by phillid
29 Jun 2011 23:55
Forum: DOS Batch Forum
Topic: How Would You Go About Setting Up A Telnet Online Server?
Replies: 5
Views: 5249

Re: How Would You Go About Setting Up A Telnet Online Server

I don't know of a specific piece of telnet server software, however, anything that can listen and talk on a port - maybe 23 - on your computer will do the trick. You just need to write the code to echo the keypresses back etc. and whatever else you want your server to do. I would recommend Perl or a...