Re: .bat files for login
From: Pegasus \(MVP\) (I.can_at_fly.com)
Date: 01/27/05
- Next message: Richard G. Harper: "Re: .bat files for login"
- Previous message: Freaky: "Re: .bat files for login"
- In reply to:(deleted message) Tx2: ".bat files for login"
- Next in thread: Richard G. Harper: "Re: .bat files for login"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 27 Jan 2005 23:10:33 +1100
"Tx2" <tx2newscollection@hotmail.com> wrote in message
news:MPG.1c62def881111360989fc3@news.individual.net...
>
>
> I've been given the opportunity to 'play' with a Windows 2000 server
> that requires an extra disk for storage due to the current one having
> bee almost filled up.
>
> I know squat all about servers, but this one is rarely used, and then
> only for video files, so I'm being given the opportunity to play as it
> matters not how long it is offline et al.
>
> Each user on the network (domain) utilises a batch file when logging in,
> and as i see it, this batch files tells their system to 'see' some share
> folders on the server as network drives.
>
> (can anyone post a sample batch file of this type, or point me to
> examples?)
>
> When i add the new disk to this server, i am going to create a few
> folders, but i have no idea how to re-write a .bat file to do this, as
> in adding the new share folder paths so users see them as drives.
>
> Can anyone help, or point me to a resource?
>
This is usually done like so:
@echo off
net use P: \\SomeServer\%UserName%
The batch file assumes that you created a share for each
user, e.g.
\\SomeServer\JSmith
\\SomeServer\PBrown
Some respondents might tell you that batch files cannot
handle this type of basic task. They obviously can, and
some of the more demanding stuff too.
- Next message: Richard G. Harper: "Re: .bat files for login"
- Previous message: Freaky: "Re: .bat files for login"
- In reply to:(deleted message) Tx2: ".bat files for login"
- Next in thread: Richard G. Harper: "Re: .bat files for login"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|