Computing.Net > Forums > Programming > How to make a batch file type text

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to make a batch file type text

Reply to Message Icon

Name: goofman
Date: October 18, 2004 at 17:33:15 Pacific
OS: Microsoft?
CPU/Ram: Windows?/ 480 mb of ram
Comment:

hi, im trying to make a batch file to type in my AIM password in the AIM Password text box...heres the code that will/won't work....

echo off
title Auto log in
cls
start aim.exe
type login.txt
pause

its short and sweet, the way i like things, but when it says the passord in the "login.txt" file, it says it on the batch file window, not AIM, any ways to make it say it on AIM?


hello



Sponsored Link
Ads by Google

Response Number 1
Name: BlueRaja
Date: October 18, 2004 at 20:51:18 Pacific
Reply:

I'm no batch file expert, but that seems like an awefully complicated thing for a batch file to do...
But then again, I've never programmed in NT batch, so don't take my word for it..

AKhalifman@hotmail.com


0

Response Number 2
Name: Mechanix2Go
Date: October 19, 2004 at 02:41:35 Pacific
Reply:

Not likely.

If the program accepts command line parameters, try creating a .pif for it.

M2


0

Response Number 3
Name: goofman
Date: October 19, 2004 at 12:55:43 Pacific
Reply:

to bad i don't know what a .pif file is!?
in aim, i can give it commands to put an away message up with any words i want with a batch file, i can make it send an aim with any words i want using a batch file, but ive never done it like this..

hello


0

Response Number 4
Name: goofman
Date: October 19, 2004 at 13:07:21 Pacific
Reply:

ok now i know what a .pif file is, but how do you script in it? just a few basics so i could make this baby work eh?

hello


0

Response Number 5
Name: Mechanix2Go
Date: October 19, 2004 at 21:13:09 Pacific
Reply:

Hi,

Right click on the desktop and make a new shortcut. It will ask you to choose the program.

Once it's created, you can right click > properties, and give it the required parametrs.

M2


0

Related Posts

See More



Response Number 6
Name: goofman
Date: October 20, 2004 at 12:44:35 Pacific
Reply:

hi again, um, im sort of new to this, but not a noob, i can make some pretty useful stuff in batch files, but how would i make the .pif file? i did the command line paremeters, that worked, but i want to make it into a batch file...any suggestions

ps. thank you for all the other suggestions though!

hello


0

Response Number 7
Name: Mechanix2Go
Date: October 20, 2004 at 22:45:12 Pacific
Reply:

Hi,

Since you know the AIM parameters...

One thing I use is Pegasus, with multiple identies. So the syntax is:

C:\APPS\peg\winpm-32.exe -i name

which starts Pegasus using the name 'name.'

So maybe your syntax is something like:

d:\AIM.exe /password

HTH

M2


0

Response Number 8
Name: goofman
Date: October 25, 2004 at 17:15:22 Pacific
Reply:

hmm, ill give that a try, but i got a copy of AutoIt or Auto It however it goes, and i made it, its simple, here's thwe code:

filechangedir ("C:\Program Files\AIM\")

run ("aim.exe")

winwaitactive("Sign On")

send("**MY PASSWORD HERE**")

Send ("{ENTER}")

but ill also try the batch file way!
thanks a lot (not in a mean way, a good way =D)


hello


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: How to make a batch file type text

How to run a batch file on another www.computing.net/answers/programming/how-to-run-a-batch-file-on-another-/15653.html

how do u make a batch file non-veiwable? www.computing.net/answers/programming/how-do-u-make-a-batch-file-nonveiwable/19532.html

need help making a batch file work www.computing.net/answers/programming/need-help-making-a-batch-file-work-/14441.html