Network Map

  • Thread starter Patrick Bonneau
  • 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!
 
J

Jerold Schulman

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
 
P

Patrick Bonneau

I allready try this but it seem that the command at is
running on a session that is not affected by
the /persistent:yes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top