Here is the complete code:
Option Explicit
dim WshNetwork
dim strServerName
dim strDay, strMonth
dim intSlash1, intSlash2, strNow
Dim objFSO, objMainFolder, objFolders, objFolder, strCurrentDate, objFiles, objFile, strNewFileName, strFolderName, intPos, strCopiedFolder, tmpFolder
Const...
Unfortunately the whole piece of code is at work, which I am no longer at, and won't be for another two days. Bear with me, and I will post it for you then.
As for the gist of what you've put, you're pretty much right.
I have no idea why MoveFolder won't work, but I doubt MoveFile will work...
Here is enough of the script for you to get an understanding of what it does/doesn't do, if you need any more, just ask.
dim WshNetwork
dim strServerName
dim strDay, strMonth
dim intSlash1, intSlash2, strNow
Dim objFSO, objMainFolder, objFolders, objFolder, strCurrentDate, objFiles, objFile...
VBScript,
I dunno, I'm a newb when it comes to this stuff. My boss likes to throw me into the deep end with no training. :)
I can't use the MoveFolder command, no idea why, but it doesn't work.
What version of Media Player are you using?
Have you checked your Video acceleration settings in Tools | Options under Performance Tab | Advanced?
Do you have the latest drivers for your video card?
Cheers,
xim_
Default profile for a user SHOULD be an administration one, so that shouldn't be a problem. It's likely the file isn't in directory specified in the PATH, so a simple:
dir msconfig.* /s
from c:\ will help you find it.
Cheers,
xim_
I don't believe this is the issue, as the files have no need to be in use at the time the script is run (ie. they are log files). A double check of the current Open Files, as shown in the MMC | Shared Folders | Open Files shows no files currently open/locked
I'm having a small problem setting up a folder move from one w2k server to another, yet when I do a copy, it works fine. The error I get is a permissions thing, and funnily enough, the directories both have full permissions for everyone. My code looks as follows:
Call...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.