Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 28th, 2003, 09:02 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,676 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 21 m 31 sec
Reputation Power: 219
Send a message via ICQ to computer
mapping drives / other network issues

Hi,

I'm not quite sure how to do this, but....

I want to be able to map three drives 'L:/' 'M:/' and 'Z:/' on a Win XP Home machine to go to different places for a different user.

There are 5 users and I want it to go something like this:
John's Account:
Z:/ --> C:/Documents and Settings/John/My Documents/
M:/ --> D:/Video/John/
L:/ --> C:/Documents and Settings/John/My Documents but on a laptop via a network....

Ian's Account:
Z:/ --> C:/Documents and Settings/Ian/My Documents/
M:/ --> D:/Video/Ian/
L:/ --> C:/Documents and Settings/Ian/My Documents but on a laptop via a network....

etc, etc.

How would I go about setting this up like it?

thanks,
comp
__________________

Last edited by computer : June 29th, 2003 at 04:47 AM.

Reply With Quote
  #2  
Old June 28th, 2003, 11:31 AM
jameskirk jameskirk is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Austria
Posts: 5 jameskirk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi comp!

just write a batch file (.bat or .cmd) for each user and add the link to their startup-folder.

the batch-file could look something like this:

map-ian.cmd

@echo off
subst z: "C:\Documents and Settings\Ian\My Documents"
subst m: "D:\Vide\Ian"

etc.

you can use
net use drive: \\computername\share

to mount a share to a drive.

hope this helps,
jameskirk

Reply With Quote
  #3  
Old June 28th, 2003, 01:29 PM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,676 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 21 m 31 sec
Reputation Power: 219
Send a message via ICQ to computer
so I think this file would work:

map-ian.cmd
Code:
@echo off 
subst z: "C:\Documents and Settings\Ian\My Documents"
subst m: "D:\Video\Ian"
subst l: "\\laptop_ian\C:\Documents and Settings\Ian\My Documents"


map-john.cmd
Code:
@echo off 
subst z: "C:\Documents and Settings\John\My Documents"
subst m: "D:\Video\John"
subst l: "\\laptop_john\C:\My Documents"


and so on...

then I just drag this file into the users startup folder?

also, how would I get it to set the nearest printer to be default?

so some computers would have a .cmd file in all users startup to remove one printer as default and set another....

thanks,
comp

Reply With Quote
  #4  
Old June 28th, 2003, 01:43 PM
jameskirk jameskirk is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Austria
Posts: 5 jameskirk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
nearly,

change
Code:
subst l: "\\laptop_ian\C:\Documents and Settings\Ian\My Documents"
to 
net use l: "\\laptop_ian\c\documents and settings\Ian\My Documents"


because the path is not local but on the network. (but you have to create a share "c" on laptop_ian.)

i am not sure, what you mean with connect to the nearest printer. are there more than one computer around?
if yes i just would set a specific default-printer on each computer (not user-dependent).

hope that help,
jameskirk

Reply With Quote
  #5  
Old June 28th, 2003, 02:42 PM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,676 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 21 m 31 sec
Reputation Power: 219
Send a message via ICQ to computer
Basically, they are 6 printers in 5 departments (areas).

They are set like:
Marketing -> Lexmark Optra xxxxxx B&W Laser (Name: lexmark_marketing)
Sales -> Lexmark Optra xxxxxx B&W Laser (Name: lexmark_sales)
IT -> Lexmark Optra xxxxxx B&W Laser (Name: lexmark_it)
IT -> HP Deskjet 940c Colour Inkjet (Name: hp_it)
Administration -> Lexmark Optra xxxxxx B&W Laser (Name: lexmark_administration)
CEO Office -> HP Deskjet 940c Colour Inkjet (Name: hp_ceo)

We want all the PCs in Marketing to have lexmark_marketing set as default and hp_it as a normal printer.
The CEOs PC and laptop have hp_ceo set as default, etc.

So how would I control which one is default and add/remove others from a .cmd?

Hope you understand,
comp

PS: About sharing 'c', well, I have the 'My Documents' or 'Documents and Settings' folders shared (depending on system OS).

Reply With Quote
  #6  
Old June 29th, 2003, 04:21 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,676 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 21 m 31 sec
Reputation Power: 219
Send a message via ICQ to computer
*bump*

and also, is there a way to remove xxxx's documents from the My Computer folder after you have applied SP1?

Reply With Quote
  #7  
Old June 29th, 2003, 04:51 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,676 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 21 m 31 sec
Reputation Power: 219
Send a message via ICQ to computer
I am also looking for a 802.11b adapter thing which I can plug a wire from my ethernet port in my PC into to give it w/less capabilities. It has to be available in the UK and under £50...

Reply With Quote
  #8  
Old June 29th, 2003, 07:59 AM
jameskirk jameskirk is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Austria
Posts: 5 jameskirk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi comp,

ok..
to be honest: i don't know a way (and also do not think there is a way) to set the default printer by command line. maybe this can be done by some windows API-calls.

but as i told you before, i would just setup a default printer for each computer in each area (i.e. setup the default printer to "lexmark_marketing" on all computers in marketing and setup the default printer to "lexmark_sales" on all compter in the sales-area.).
this has to be done just once on each computer. i don't think there is no other "easy" solution.

xxxx's documents in the "my computer"-folder? what do you mean with that?

i also would not buy a 802.11b "adapter-thing". instead i would look for USB-wireless adapter which surely can be bought for under £50.

greetz,
jameskirk

p.s. maybe my english is not could enough for answering all your questions, so sorry for reasking what you mean with "this or that"...

Reply With Quote
  #9  
Old June 29th, 2003, 08:54 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,676 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 21 m 31 sec
Reputation Power: 219
Send a message via ICQ to computer
okay, I can sort out the printers, but about the xxxx's Documents folders....

Once you have applied SP1 to Win XP Home, then a link to everyones documents appears in My Computer.
(see screenshot).

What I want to know is if I can easily remove these, however they don't seem to be normal shortcuts...
I will then map Z:/ to be the users local documents and M:/ to the network documents, using the .cmd files shown above.

Re: Wireless card...
From your advice, I will probably purchase this (retails @ £34.98). It just means opening up a few boxes rather than taking advantage of existing NICs.

Thanks,
comp

(screenshot is of my computer at home right now)
Attached Images
File Type: png screenshot.png (136.9 KB, 327 views)

Reply With Quote
  #10  
Old June 29th, 2003, 11:15 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,676 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 21 m 31 sec
Reputation Power: 219
Send a message via ICQ to computer
PS: these pcs only have one front USB port, so a usb adaptor will not work very well.

Reply With Quote
  #11  
Old June 29th, 2003, 12:47 PM
jameskirk jameskirk is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Austria
Posts: 5 jameskirk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
shortcuts: i am sorry, i can't help you with this problem.. cause i only use windows xp - pro and with this one you can't even access the folders of any other user.

wireless: ok.. actually the adapter look fine, but i think it is much less work if you buy usb-adapters and - if you really need more usb-devices - a usb-hub than screwing up each computer and installing the wireless-nics.
but on the other hand i also prefer pci-cards than usb-devices.

greetz,
jameskirk

Reply With Quote
  #12  
Old July 3rd, 2003, 10:34 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,676 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 21 m 31 sec
Reputation Power: 219
Send a message via ICQ to computer
is this any good for printer mapping?

Code:
servername\netlogon\con2prt /f
rem servername\netlogon\con2prt /cd "\\printserver\printername"


using the con2prt program??

Reply With Quote
  #13  
Old July 3rd, 2003, 02:12 PM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,676 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 9 h 21 m 31 sec
Reputation Power: 219
Send a message via ICQ to computer
ne1?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > mapping drives per user


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread