Re: batch file
From: GoGoGadgetScott (gogogadgetscott_at_hotmail.com)
Date: 04/26/04
- Next message: Toto: "Load Hive in VBS"
- Previous message: McKirahan: "Re: Crete exel charts with asp"
- In reply to: Greg: "Re: batch file"
- Next in thread: Greg: "Re: batch file"
- Reply: Greg: "Re: batch file"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Apr 2004 10:59:58 -0400
Set oWSnet = CreateObject("WScript.Network")
oWSnet.MapNetworkDrive "M:", "\\OutThere\My documents"
'http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthmapnetworkdrive.asp
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ On Mon, 26 Apr 2004 08:04:03 +0700, Greg <greg.anti.spam@removethis.anet.net.th> wrote: > they are not scripts. at present we are using batch files. I would like > to > change to be VB scripts. so back to my question. does anyone know how to > create the equivalent of batch file map network drives using VB script? > > Greg C. > > "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in > message news:#9M48wmKEHA.620@TK2MSFTNGP10.phx.gbl... >> PFFT! That is either something they're telling you to shut you up, or > they >> don't know what they're talking about. Booting up has nothing to do >> with >> logon scripts... Only logging on has to do with logon scripts. If they >> were right, that would mean that you could boot up the computer, let it > sit >> there for five minutes, and then your logon scripts would run. >> Something >> else is going on that is preventing your scripts from running or >> working. >> Which is the issue? They aren't running, or they aren't working? If >> they >> aren't running, this is commonly because your XP machines aren't using >> an > AD >> domain controller for DNS and the users are being authenticated by >> cached >> logon credentials. If they're not working, well, what's not working? >> >> Ray at home >> >> "Greg" <greg.anti.spam@removethis.anet.net.th> wrote in message >> news:ejXXpvhKEHA.1348@TK2MSFTNGP12.phx.gbl... >> > Well, used to work on NT machines but stops on XP. Network support guy >> says >> > that bootup on XP is too fast for startup batch files to take effect. >> > >> > GC >> > >> > "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in >> > message news:#NKg1BXKEHA.2472@TK2MSFTNGP10.phx.gbl... >> > > Aren't you interested in finding out why the batch file doesn't >> work? >> If >> > > that stopped working for some unknown reason, there's a good chance > that >> > > it's an external reason that would also prevent a .vbs file from >> > working... >> > > Like, the machine isn't finding a DC and scripts aren't running, >> drive >> > > letters aren't available, etc. etc. >> > > >> > > Ray at work >> > > >> > > "Greg" <greg.anti.spam@removethis.anet.net.th> wrote in message >> > > news:u%23j$zRWKEHA.2784@TK2MSFTNGP10.phx.gbl... >> > > > Ive been using a batch file to map network drives but moving to XP > it >> no >> > > > longer works. >> > > > >> > > > Is there a way to use VB sripting to do this at startup? >> > > > >> > > > Greg >> > > > gclayton@access.inet.co.th >> > > > >> > > > >> > > >> > > >> > >> > >> >> > >
- Next message: Toto: "Load Hive in VBS"
- Previous message: McKirahan: "Re: Crete exel charts with asp"
- In reply to: Greg: "Re: batch file"
- Next in thread: Greg: "Re: batch file"
- Reply: Greg: "Re: batch file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|