🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16576

How to map network dive(s) programmatically?

#16576
From: Jarkko Juntunen
Date: Wed, 07 May 2003 18:03
12 lines
1061 bytes
Hi!

Could anyone tell hov to map network drive(s) in my program like with net 
use command?
(net use \\<computername>\<sharename> passwd /USER:username)

There must be some "cooler" way than use ShellExzecute().

Thanks! 

-- 
-jii
Technical Details
Message-ID: <Xns9374D634019C1dzeidzei@207.105.83.65>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d0f6e75c17620d1f,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-07 11:08:06 PST
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to map network dive(s) programmatically?
From: Jarkko Juntunen <dzeidzei@suolakaivos.com>
Organization: Suolakaivos
Message-ID: <Xns9374D634019C1dzeidzei@207.105.83.65>
User-Agent: Xnews/L5
NNTP-Posting-Host: 192.107.203.190
Date: 7 May 2003 11:03:25 -0700
X-Trace: newsgroups.borland.com 1052330605 192.107.203.190 (7 May 2003 11:03:25 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail