7 replies
by chupa
I'm assuming you are not using Exchange and that you don't have your clients setup with OST's instead of PST's.....
I'm also assuming that all your users have their PST's in the same directory or you'll have to do a search for it first. And I'm also assuming that you don't want to write a custom .exe (WinBatch/c++/etc) to launch from your login script....
Send me an email with the answers to this and I'd be happy to batch script something for you.
by newinterface
The must be a hundred ways to Leave your --- OPS wrong subject.
There are many types of scripting programs, KixStart comes to mind.
However, your basic DOS Command is all you need, (after you find a way to launch it. Until you find the scripting Launcher for your Batch file - you can place it in the startup folder of each machine in question
[BATCH]
If exists %systemdrive\folder_name\file.name goto DATE
goto end
:DATE
(This section requires that you get a DOS book out of the dust and find the argument that equates to check for date) -- (maybe some else could fill in this part)
Bad example--- if date => than 01/01/2000 then goto COPY
goto ?????
goto end
:?????
:end
cls
rem sentence here
wait or Timeout from Resource Kit
Well thats all I can do without trying it myself. If nothing else comes up this at least will help.
However, Java and or Perl provides a lot of commands that are very usefull for such problems. I am examining this for myself. if you want an example of what it can do - email me and I will send you the example someone else wrote to automaticly execute the Win2000 Repair disk function
GOOD LUCK
by newinterface
Personally I would keep it simple and include xcopy in the user's login scripts.
If you use the /D option (and the /Y option for Windows 2000 clients) it will only copy a file if it is newer than the destination file.
So it would look something like this:
xcopy /D /V c:\exchange\user.pst \\server1\share1\pstfiles
That should do the job!
Regards,
JB.
by newinterface
by newinterface
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending