1.

Solve : Sending files using Ms-Dos?

Answer»

Does anyone know how to do that(send files to other COMPUTERS using msdos?)?How are the computers connected?Well, the only way I know is to use the net command. The procedure would include connecting to a remote COMPUTER's shared folder/drive/device then use the copy command to copy the file/files to the specified drive letter.

The syntax of the command would be similar to something LIKE this
Code: [Select]net use X: \\remotemachine\shared
copy C:\test.txt X:\
You could use replace "X" with any letter you want. Although I wouldn't recommend using any of the ones that are already assigned by Windows; A:, C:, D:, and E: are common ones. Not sure what would happen. Replace "remotemachine" with the remote machine's hostname or IP address, and "shared" with the shared resource.Are you using real DOS on both machines, or some kind of command prompt within Windows? What version?The computers are connected by the same network connection(at school). I know you can send messages to other onnected PC's- net send [domain] [message]- and I have been told before that it is similar. :exclamationAnd I am using real dos on all machines! :exclamationQuote

And I am using real dos on all machines! :exclamation
Are you sure? I find it highly unlikely that your school keeps old DOS machines around these days. I find it more likely that you are confused into thinking that cmd.exe or command.com is DOS. These are just emulators for the DOS enviroment; not the real thing.
I agree. Until he overcomes this knowledge deficit all bets are off. Oh sorry, It's probably not DOS! :-/
I think its cmd.exe.Quote
Oh sorry, It's probably not DOS! :-/
I think its cmd.exe.
Well, then then my first reply should probably work FINE. You cannot send files with "net send" although another command in the net family "net use" would probably be the way to go.thanks, it works!Could you give me an example, cos I'm not sure i'm doing it right? :-? :-/First, you would find the remote computer's hostname or IP address. There are several ways to do this.
  • Type "hostname" in a cmd.exe CONSOLE session on the other computer.
  • Press WinKey + Pause/Break then select the Computer Name tab on the other computer.
  • Type "net view" in a cmd.exe console session to see all the machine on your network/workgroup.
  • Right click My Computer, select properties, and click the Computer Name tab on the other computer.
Secondly, you would type "net view " to see the shared resources on that computer. To access these resources you must use the net use command. For example, the syntax for connecting to a shared folder called "work" on a remote computer named "cheesy" would be "net use R: \\cheesy\work". This would assign the R: to the work folder on remote machine cheesy.

IMPORTANT: You cannot connnect to any shared resource on any target computer if it isn't shared.thanks!!


Discussion

No Comment Found