<HTML>
<HEAD>
<TITLE>Re: [cisco-voip] Mounting a Shared Folder on Another Computer with a .bat File</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:14.0px'><B>Thanks Go0se and Lelio. The net use command works as a .bat file when I double-click on it but for some strange reason it won’t execute as a scheduled task. Returns a 0x0 code as if it were successful but a net use command shows no volumes. It’s a pretty simple setup:<BR>
<BR>
Net use \\10.10.7.22\UnityBackup /USER:adminstrator Tr1b501<BR>
<BR>
That’s it. Again, works flawlessly when I double-click on the batch file but set it as a scheduled task and it won’t run — whether I right click on it and run or set a time and let that time come and go. I’ve seen this before with setting .bat files as scheduled tasks and have never been able to figure out what the issue is. I have a lot of other .bat files running as scheduled tasks and they work without issue. There are just certain ones that won’t.<BR>
<BR>
Thank You...<BR>
</B></SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><B><FONT SIZE="2"><SPAN STYLE='font-size:10.0px'>-- <BR>
Jim Reed<BR>
Manager of Technical Services<BR>
Swift Communications, Inc.<BR>
970-384-9141 (Direct)<BR>
775-772-7666 (Cell)<BR>
</SPAN></FONT></B><SPAN STYLE='font-size:12.0px'><BR>
<BR>
<BR>
On 5/5/10 11:55 AM, "Go0se" <me@go0se.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Use the "net use" command.<BR>
<BR>
Thanks,<BR>
<BR>
Go0se<BR>
<BR>
My blog:<BR>
<a href="http://atc.go0se.com">http://atc.go0se.com</a><BR>
<BR>
-------------------------------------<BR>
Help Hopegivers International<BR>
feed the orphans of India.<BR>
<a href="http://www.hopegivers.org">http://www.hopegivers.org</a><BR>
-------------------------------------<BR>
<BR>
-----Original Message-----<BR>
From: cisco-voip-bounces@puck.nether.net<BR>
[<a href="mailto:cisco-voip-bounces@puck.nether.net]">mailto:cisco-voip-bounces@puck.nether.net]</a> On Behalf Of Jim Reed<BR>
Sent: Wednesday, May 05, 2010 12:33 PM<BR>
To: cisco-voip voyp list<BR>
Subject: [cisco-voip] Mounting a Shared Folder on Another Computer with a<BR>
.bat File<BR>
<BR>
Do any of you geniuses know if there is a utility or CLI command that will<BR>
mount a shared folder on one Windows computer on another Windows computer.<BR>
I have some backup routines I want to run on Call Manager, etc., to other<BR>
destinations but since it's infrequent, the shared folder sometimes<BR>
disconnects. If there is a way to do it through a .bat file, I could then<BR>
set that as a scheduled task.<BR>
<BR>
Thank You...<BR>
--<BR>
Jim Reed<BR>
Manager of Technical Services<BR>
Swift Communications, Inc.<BR>
970-384-9141 (Direct)<BR>
775-772-7666 (Cell)<BR>
<BR>
<BR>
<BR>
_______________________________________________<BR>
cisco-voip mailing list<BR>
cisco-voip@puck.nether.net<BR>
https://puck.nether.net/mailman/listinfo/cisco-voip<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>