Network Map

  • Thread starter Thread starter Patrick Bonneau
  • Start date Start date
P

Patrick Bonneau

Is there a way to make a permanent connection through a
network drive....Explication, I create a batch file that
is making verification on server like defrag, compression,
cpu usage and other tools that is use to raise the server
performance....Now I want to collect the information and
be able to update my qc(quality controle), the problem is
that for this I'd like to use the drive U pointing on
192.168.X.X/Qc ... Is there a way to create a permanent
drive or I'll have to recreate the map everytime the batch
file is started?

If I use a direct target in my batch file....is there a
way to insert the username and password? like dir
c:\*.log>>\\192.168.X.X\qc

thanks a lot!
 
Is there a way to make a permanent connection through a
network drive....Explication, I create a batch file that
is making verification on server like defrag, compression,
cpu usage and other tools that is use to raise the server
performance....Now I want to collect the information and
be able to update my qc(quality controle), the problem is
that for this I'd like to use the drive U pointing on
192.168.X.X/Qc ... Is there a way to create a permanent
drive or I'll have to recreate the map everytime the batch
file is started?

If I use a direct target in my batch file....is there a
way to insert the username and password? like dir
c:\*.log>>\\192.168.X.X\qc

thanks a lot!

just add the /persistent:yes switch to the net use command.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
I allready try this but it seem that the command at is
running on a session that is not affected by
the /persistent:yes
 
Back
Top