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.
Batch File and Start->Run...
Name: infinitiy Date: December 26, 2003 at 09:58:45 Pacific OS: XP CPU/Ram: P3 w/512MB
Comment:
Recently we changed the names of our computers. Doing this made net send harder. I am trying to write a batch file that can be run from the Start->Run... menu item by typing: send mike here is the message where send is the name of the batch file mike is the name of the recipient here is the message is the message so far I have: @echo off goto top
:top
%1
if "%1%" == "mike" goto Mike if "%1%" == "ryan" goto Ryan if /I "%1%" == "end" goto end
:Mike SET VAR=TEMPTEXT SET %VAR%=%2 %3 %4 %5 %6 %7 %8 %9 net send MW10074 %TEMPTEXT% goto end
:Ryan SET VAR=TEMPTEXT SET /P %VAR%="Text to send: " net send MW10022 %TEMPTEXT% goto end
:end
Right now my max message length is 8 words as denoted by the %2 %3 etc. I'd like it to be as unlimited as net net send. (Ryan is just a second variable I used for this program, and from another program where you are prompted. version 1) Thank you!
Summary: Hi! I need a batch file to start and stop some specifig service. The service could be in example messenger. I have now tried to make it with the guide of http://www.ss64.com/nt/sc.html which guides me...
Summary: Hello, I want to create an exe file from a batch file and 2 other exe file. How can I do this? I want it so that when I click the exe it runs the batch file and it can still do things with the other 2...
Summary: i created a batch file and i'm invoking three programs in it one by one. but when i click on batch file all three programs are running simultaneously.. so how to execute them one after the other.? ...