forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Share Disk

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Quatre87
Valued Newbie


Joined: 07 Jan 2004
Posts: 25

PostPosted: Fri Jun 18, 2004 12:17 am    Post subject: Share Disk Reply with quote

How i can share a disk unit in a intranet? (i mean, with a Vds command, not in "My Computer")
Back to top
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Fri Jun 18, 2004 8:28 am    Post subject: Reply with quote

I think this must be possible by using the shell32.dll... perhaps have a look at MSDN.

Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Jun 18, 2004 8:50 am    Post subject: Reply with quote

You can call the DOS command "subst" to assign an (external) drive to a virtual, local disc. I don't know if this is what you ment, but with this method you can change a network URL like this:

\\computername\drivenumber\

Into this:

x:\

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Fri Jun 18, 2004 3:26 pm    Post subject: Reply with quote

subst.exe will not work on network paths, only local paths. You would
have to use net.exe for mapping a network drive. But I'm not sure you
can create a share with that either. There use to be a file called share.exe
in dos, but I'm not sure that still included in the 9x and NT distros.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Jun 18, 2004 7:05 pm    Post subject: Reply with quote

Garrett, over here I use the subst command to create a virtual drive which I can access from every pc, so it does work for me on network paths. But, I'm using Windows XP, so maybe that's why it doesn't work at our place?
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Fri Jun 18, 2004 7:58 pm    Post subject: Reply with quote

No, I meant, you can't use subst.exe to make a virtual hd on another
computer on the network. You can only make them from the local
computer only. Sorry, didn't mean to confuse things.

Keep in mind though, just because you create a virtual, doesn't mean
it's automatically shared. If you create a virtual from inside a directory
that is already shared, then yes, it will be available on the network, but
if it's not, then you still need a way to mark that directory as a share.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sat Jun 19, 2004 11:13 am    Post subject: Reply with quote

Oops, I understand now... Sorry for letting this topic go the wrong way... Embarassed
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group