Question : NET USE command using Telnet

Using Telnet I connect to a machine on network. Connection  is OK.
I am using the command to map a network folder, as follows :-

NET USE S: \\server\abc /user:server\test1 /persistant:yes

The command executes sucessfully. Drive S: gets created. We can use that.

The problem are :-
  1. As I exits Telnet, S: disappears from that system.
  2. During the connection there was a red cross on S: before exiting Telnet. I don't need that.

I Don't want to use ADS.
I have to map the drive from CLI only.
Is there any script using which I can map any network folder to client machine, Silently & persistantly.

Regards

Answer : NET USE command using Telnet

Hi Sunil,

See the following solution May be your help:

http://groups.google.co.in/group/alt.msdos.batch.nt/browse_thread/thread/924be5248c5cdf7f/acf90da723f1a06a?lnk=st&q=script+for+map+network+folder+to+client+machine+from+CLI&rnum=1&hl=en#acf90da723f1a06a
Random Solutions  
 
programming4us programming4us