Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Bat file for making Net Send Easier


  • Please log in to reply

#1
ar31791

ar31791

    Member

  • Member
  • PipPip
  • 11 posts
Ok, I want to make a bat file to put on each of my computers to make sending messages via net send easier. I have made it like a menu so far, where you click 1 to send "Hi!" to Computer1, 2 to send Hi! to computer2, and so on. I want to know how to make it so when you press one, the following comes up and you just need to type in the message:
net send /domain:computer1 MESSAGE WOULD BE ENTERED HERE

Of course though, when you put just net send /domain:computer1 in a bat file, it would try to execute that as the command, with an error about file sharing is no longer supported. Any ideas on how to allow additions to a command would be appreciated!
Thanks!
[MODS-- If I put this in the wrong section, just move it.]

Edited by ar31791, 28 January 2006 - 02:31 PM.

  • 0

Advertisements


#2
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
is this an exercise in programing, or do you just want to do this?

Why not use any number of freeware apps that are more elegant than a batch file

http://www.snapfiles...orkmessage.html
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP