Tech Support > Operating Systems > Windows 2000 > Network drive without the network
Network drive without the network
Posted by Teo on March 5th, 2004


Hi! Is there a way I can map a network share, have it for offline access?
The only problem I've seen is that since it's an access DB, it doesn't allow
me to have that content offline.
What could I do to enable this.
I have an access application that access that DB in that particular network
drive. If it's not there the application won't run.
The application can't be configured to run in another way.
Please let me know how can I fix this problem,

Teo



Posted by Pegasus \(MVP\) on March 6th, 2004



"Teo" <teo@teo.com> wrote in message
news:Om2zPdvAEHA.3944@TK2MSFTNGP11.phx.gbl...
You could do this in your logon script:

@echo off
ping DBServer -n 1 | find /i "bytes=" > nul
if ErrorLevel 1 (subst s: c:\OfflineDB) else (net use s: \\DBServer\DBShare)

If you now make sure that c:\OfflineDB contains the same files as
\\DBServer\DBShare then your program will run regardless of whether
you have a network or not.



Posted by Teo on March 6th, 2004


How would I edit the logon script?

Thanks so much for your help,

Teo
"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:%23uxx3p0AEHA.576@TK2MSFTNGP11.phx.gbl...


Posted by Pegasus \(MVP\) on March 6th, 2004


- If you're on a domain: Ask your network administrator.
- If you're on a stand-alone machine: Create a batch file
under any name in "c:\documents and settings\all users\
start menu\programs\startup".

"Teo" <teo@teo.com> wrote in message
news:eNwOhn5AEHA.2796@TK2MSFTNGP09.phx.gbl...