Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / XP Folder Sharing

Author
Message
Programmer Holic
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: UK
Posted: 21st Aug 2004 19:58
me and my dad share a USB stick we have. usually it goes in my pc (because my USB ports are easier to get to than his ), then he copies his files over the network to it. this works fine, but obviously i need to share the drive so he can do this. the annoying thing is, the next time i plug the stick in i have to retick all the boxes and set it up as shared again, ie it loses the sharing data. is there any way to have this automatic so it's always shared when plugged in? (It's always the F drive if thats any help)
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st Aug 2004 20:02
I dont think so...


Come to the UK Convention on the 23rd & 24th of October
Killswitch
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: School damnit!! Let me go!! PLEASE!!!
Posted: 21st Aug 2004 20:25
Write a quick ap that does it for you?

~It's a common mistake to make, the rules of the English langauge do not apply to insanity~
Programmer Holic
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: UK
Posted: 21st Aug 2004 20:58
Been trying, but can't find any VB code for it yet...
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 21st Aug 2004 21:45
you dont need vb code, you can make a batch that does it.

here is an example that makes sure the system default shares are in place...

@ECHO OFF
CD\
NET SHARE C$=C:\
NET SHARE D$=D:\
NET SHARE ADMIN$
NET SHARE IPC$

(you can remove D$ line if you dont have a hdd as D)

now add whatever share you need, for example
NET SHARE DadsStuff=C:\somefolder\somesubfolder\blah

alternatively, I have a gui that allows you to opn and close shares by generating and executing bat files on the fly. I always close all of my default shares when I boot up. It makes use of .net and WMI objects to report all of the currently opened shares on the system.



if you want the app I will post it up on my server.


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
Programmer Holic
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: UK
Posted: 22nd Aug 2004 18:46
OK tired that, but every time I reboot the share needs setting up again. And to make things worse, unless the stick is in the pc the share command doesnt work, hence I cant put it in any autorun file

Seems like I'm going to have to use a VB program to do it now.

Login to post a reply

Server time is: 2024-11-25 21:48:31
Your offset time is: 2024-11-25 21:48:31