Need help with copy script
Thu, 1 Feb 2007 08:29:01 -0800
I am having trouble with a copy script I am working on.
The script should accomplish the following:
1. Get the file names of all the files in the STAGE_DIR
2. Find the same file name in the BIN_DIR
3. Copy the files from the BIN_DIR to a backup folder
4. Copy the files from the STAGE_DIR to the BIN_DIR
...
|
Alert when LastModifiedDate of file is older than 5 min
Thu, 1 Feb 2007 06:50:00 -0800
Hi gurus,
I m using the following WMI query to find out lastmodifieddate of a file and
it is working like a charm using WMI provider if the file changes in last 5
min. But my goal is to alert MOM if the file doesn;t change in last 5 min. I
m not able to revrese the select statement. Do you happen to know ...
|
Script to log run and close apps into Mircosoft Office journal
1 Feb 2007 04:58:49 -0800
I'm looking for some kind of automated logging into Microsoft Outlook
Journal.
I wish that script was started from command line start timer and that
apps, than after minut later check what is oppened from main bar. And
on closing that apps stop the timer and save new item into Microsoft
Outlook Journal. I hav ...
|
Copy a file, wait, then rename it
Wed, 31 Jan 2007 09:06:52 -0500
I am trying to write a script that will copy a 40gb file, then rename it.
The problem I am having is the script never completes and renames the file.
Here is what I have:
Dim wFile
Dim mf
Set mf = CreateObject("Scripting.FileSystemObject")
mf.CopyFile "E:\B2D\B2D000001.bkf", "E:\Archive\B2D000001.bkf"
...
|
Schedule Task - Please Explain
Tue, 30 Jan 2007 23:10:50 -0600
Hello All,
I was wondering if anyone could explain to me the following code and how I
can modify it. I have a need to run a script everyday at 4:00am in the
morning. I am currently using Windows Scheduled Task, but I have to have
the PC logged in and then locked so that schedule task can run.
How can ...
|
Checking for new email
30 Jan 2007 06:57:28 -0800
I need help with what I hope is a simple script. We have an email
collection program which anonyingly stops collecting emails every once-
in-a-while, and I would like to use this script to email me when is
has not cleaned out the queues.
I would like the script to log into Exchange, check 2 email accounts ...
|
Security settings for DNS management through WMI
Tue, 30 Jan 2007 11:16:30 +0100
Hi,
I'm trying to manage an Active Directory integrated DNS from a remote
machine, with a code like this:
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objSWbemServices = objSWbemLocator.ConnectServer (strComputer,_
"root\microsoftdns", strUser, strPassword)
objSWbemServices.Secur ...
|
|
|
Copy File From Network Share To Workstation As Administrator
26 Jan 2007 18:51:25 -0800
Howdy...
I'm trying to copy two files from a network share to a specific
location on all domain computers (the location iscommon to all domain
computers). I need to run this script as domain administrator due to
our security settings. I am not sure how to script to "run as" domain
administrator. Any ideas?
...
|
WSH to resize the application window of a running app?
Fri, 26 Jan 2007 14:32:01 -0800
I am trying to automate the resizing of an application window so that I can
use Camtasia to record classes. But the app doesn't have an API that supports
window resize, so I am hoping I can actually do this with WSH.
Any recommendations?
Thanks,
Gordon ...
|
[WshShell.Run] - NOT working
Fri, 26 Jan 2007 05:49:31 +0200
Hi,
I wrote WSF file:
<job id="openSlideshow">
< script language="VBScript">
Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("C:\\Slideshow\\slideshow.swf", 1, true)
</script>
</job>
But it is not opening the file.
Why?
Thanks in advance,
Bare.
...
|