Saved Bookmarks
| 1. |
Solve : Opening bat files remotely? |
|
Answer» Hi I'm new here and I was wondering if it's possible to open a bat FILE remotely on another computer in your home network. Hi I'm new here and I was wondering if it's possible to open a bat file remotely on another computer in your home network.Post count+possible danger=We're not helping you. Innocent until proven guilty, but we don't have to help you do something possibly dangerous!I'm not TRYING to do anything dangerous. I'm working on a LAN Messenger that uses net send and I was wondering if it's possible to either send or open that batch file from another computer.Quote from: delibrete on April 13, 2009, 06:06:28 PM I'm not trying to do anything dangerous.A LAN Messenger...wow. Using Net Send? I can make one in less than 3 minutes that uses text files on a network drive, but I've never personally used net send... And to answer your question, I don't think it's possible UNLESS you use remote destop CONNECTION...Hmmm, I'm not sure what your trying to say about net send but thanks for the helpQuote from: delibrete on April 13, 2009, 06:13:07 PM Hmmm, I'm not sure what your trying to say about net send but thanks for the helpWhat do you mean. I just said that I've never used net send before, and that I can make a LAN Messenger in less than 3 minutes.oh ok if you curious about what I'm doing then here it is (Note: it's not completed and it looks very n00bish) @echo off net start messenger :main cls TITLE Lan Messenger v1.0 BETA color 02 echo ####################### echo Lan Messenger v1.0 BETA echo ####################### echo Welcome net users net view set /p n=Select User: echo You are chatting with %n% goto A :A echo - set /p m=Type message: net send %n% %m% Goto AQuote from: delibrete on April 13, 2009, 06:24:58 PM oh okYou can remove the FIRST goto A, as it will go to A anyway.oh yeah, silly me thx helpmeh, how would you make a Lan messenger?Quote from: delibrete on April 13, 2009, 06:53:09 PM oh yeah,Lol, it's a common mistake. Do you have a network drive, (files shared between all the computers)?well, I'm not connected to any home networkQuote from: delibrete on April 13, 2009, 06:58:07 PM well,Will you be soon/some time in the almost near future?Hopefully, I'm trying to convince mum to get a wireless router and some adaptersQuote from: delibrete on April 13, 2009, 07:05:52 PM Hopefully,Well, here is a 2-part LAN Messenger (I use it at school a lot) File one: CODE: [Select]@echo off set /p usr=Username: :loop cls set /p msg=Message: echo %usr%^: %msg% >> FILEONNETWORK.EXTENSION goto loop File two: Code: [Select]@echo off :loop cls type FILEONNETWORK.EXTENSION ping localhost -n 2 -w 1000 > nul It's bare-bones, but it works. You can add any fancy stuff you want to it. |
|