mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2005
Posts: 3
D
darking Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Sep 2005
Posts: 3
English...
Hello world !
I have a question : if i want create a file's name "blox.bat" with the command
Code:
  C:\mIRC\mirc.exe command "" echo -s Bl0x ! 
How do I do that ?
Thanks

Français :
Bonjours tous le monde !
J'ai une question : si je veux crée un fichier nommé "blox.bat" avec la command
Code:
  C:\mIRC\mirc.exe command "" echo -s Bl0x ! 
Comment je fait pour que sa fonctionne ?
Merci


Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
If you just want to create such a file with that in it, you can type this in mIRC:

Code:
/write blox.bat C:\mIRC\mirc.exe command "" echo -s Bl0x !


Invision Support
#Invision on irc.irchighway.net
Joined: Sep 2005
Posts: 3
D
darking Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Sep 2005
Posts: 3
er... I want to do a mIRC Command with a file "blox.bat"


Joined: Sep 2005
Posts: 20
Ameglian cow
Offline
Ameglian cow
Joined: Sep 2005
Posts: 20
I think i understand the idea.....

like in mirc u can type
Code:
 
   run cmd /c systeminfo > C:/stats.txt
   .timer 1 2 if ($window(@system)) /clear @system
   .timer 1 2 window -xk0 +tbsx @system
   .timer 1 10 loadbuf @system C:/stats.txt
   /play -a C:/stats.txt 1000 
}
 


something like this.... and to get information from other aplication.... the idea is to execute mIRC command with an bat file... but.... i thing it cant... because bat files are just txt files with dos comands... but mIRC is an aplication for windows.... and i thing it 'll be hard to say anyprograme which works in windows.... to tell it via dos to do something.... the only usage of the bat files which i find in mIRC is to great a 'dellogs.bat' and deldownloads.bat'..... oooo and of course the 'mircinibackup.bat' wink .... u can try the help in cmd....

Respect !!!

.... and Ra\/e 4 e\/eR

Joined: Sep 2005
Posts: 3
D
darking Offline OP
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Sep 2005
Posts: 3
No No !
I want to use a mIRC Command with "Bl0x.bat" !


Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Perhaps you need to be more specific. The people that have replied to you seem to be racking their brains working out what the hell you want to do with a batch file. Try telling us what is in the file to begin with and what you want to achieve by running it from mIRC.

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
He likely cant make one in notepad, becuase it keeps adding .TXT to the filename or some other such stupid windows thing.

he could do this.

START / RUN / type in cmd / OK

type in echo C:\mIRC\mirc.exe command "" echo -s Bl0x ! >blox.bat
type in exit

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Or, use the copy command in the DOS window:

copy con filename.bat
line 1
line 2
line 3
Ctrl-Z
exit

Ctrl-Z saves the file once you add all the lines you want to it.

Personally, I have Windows display all extensions, then if I need a bat, I make it in notepad and then rename the extension from txt to bat.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard