Re: Logon Script Help
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Sat, 16 Sep 2006 08:52:14 +1000
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,not
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
copied. Both source and destination directories exist, although I'dprefer
the statement create the destination directory if it does not existalready.
application,
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 Networkonce a
Administrator. We have a contract with an outside vendor who comes in
month or on an emergency basis as required to handle our issues.
I have developed and am ready to launch a multi-user Access
front-endsplit between a back-end data file stored on the server and a
traffic.file
containing form, report and query definitions, initially posted on the
server, but then copied to each local machine to minimize network
successfully
Although I have thoroughly tested the application, and have
Askingdeveloped single user applications for years, I expect that we willdiscover
bugs requiring an updated front-end, not to mention requests for added
functionality.
Users vary in their computer skills and in their pain threshold.
thesome to copy a new front-end file to their PC, even via a providedshortcut,
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
doserver location to see if the posted version is newer than the user'scurrent
version, and if so, copy it to their local folder, overwriting the oldfile.
He didn't, however, know the correct login script language commands to
this. Can anyone help?
Thank you.
Sprinks
Use this line:
xcopy /y /d /s "\\YourServer\Some\SomeShare\*.*" "c:\program
Files\SomeApplication"
.
- References:
- Re: Logon Script Help
- From: Pegasus \(MVP\)
- Re: Logon Script Help
- From: Sprinks
- Re: Logon Script Help
- Prev by Date: Re: Newbie backup question??
- Next by Date: Re: Windows Server 2003 as a workstation environment
- Previous by thread: Re: Logon Script Help
- Next by thread: Re: Logon Script Help
- Index(es):