Re: Logon Script Help

Tech-Archive recommends: Fix windows errors by optimizing your registry



Modify the line like so:

xcopy /y /d "k:\B&F\Databases\Time***.mdb" "j:\Data\" 1>c:\test.txt
2>&1

This will do these things:
- It will create the Data folder unless it already exists.
- It will copy your database.
- It will create a log file c:\test.txt.

Use notepad to examine the log file and all will become clear. By
the way, DOS is an operating system. There is no DOS under
Windows - it's called a "Command Prompt".

"Sprinks" <Sprinks@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F7DC0275-A49C-46CA-AC06-5E792B658EA8@xxxxxxxxxxxxxxxx
Pegasus,

I checked Windows Help so I could understand your command line statement,
but for some reason, I can't get the following to work. It runs in a DOS
window and returns to Windows without showing any errors, but the file is
not
copied. Both source and destination directories exist, although I'd
prefer
the statement create the destination directory if it does not exist
already.

Thank you.

xcopy "k:\B&F\Databases\Time***.mdb" /y /d "j:\Data"



"Pegasus (MVP)" wrote:


"Sprinks" <Sprinks@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:652A0003-3677-47AD-9337-620BD0CD5B62@xxxxxxxxxxxxxxxx
We are a small consultant office (15 people) with no full-time Network
Administrator. We have a contract with an outside vendor who comes in
once a
month or on an emergency basis as required to handle our issues.

I have developed and am ready to launch a multi-user Access
application,
split between a back-end data file stored on the server and a
front-end
file
containing form, report and query definitions, initially posted on the
server, but then copied to each local machine to minimize network
traffic.

Although I have thoroughly tested the application, and have
successfully
developed single user applications for years, I expect that we will
discover
bugs requiring an updated front-end, not to mention requests for added
functionality.

Users vary in their computer skills and in their pain threshold.
Asking
some to copy a new front-end file to their PC, even via a provided
shortcut,
will be irritating to some. Moreover, if some don't copy the file,
different
users will be using different versions, complicating support.

Our network consultant suggested that we use the login script to check
the
server location to see if the posted version is newer than the user's
current
version, and if so, copy it to their local folder, overwriting the old
file.

He didn't, however, know the correct login script language commands to
do
this. Can anyone help?

Thank you.
Sprinks

Use this line:
xcopy /y /d /s "\\YourServer\Some\SomeShare\*.*" "c:\program
Files\SomeApplication"





.


Quantcast