Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Councilk

  1. Councilk

    Copy files from list

    Im sorry your query syntax is fine, and dm$ever is correct. You don't need wmi to use file operations, just the FileSystemObject. More details are required on file format and error if any was generated
  2. Councilk

    Copy files from list

    Hi JPeca All looks fine here except what's highlighted in Red strFile = "C:\\scripts\\" & arrParts(0) Set colItems = objWMIService.ExecQuery _ ("Select * From CIM_Datafile Where Name = '" & strFile & "'") For Each objItem in colItems strNewName = "C:\\scripts2\"...
  3. Councilk

    Comparing home folders on new server

    I'm sorry, I should have updated this thread when I figured out the correct syntax. I've since gotten myself caught up in a different snag. I know this can be done logically where I'm using a for next construct to pull the home foldername. Once I pull the homefolder from server "A" I call a...
  4. Councilk

    Comparing home folders on new server

    Hello all, I hope everyone is doing well. I have a situation here where Im trying to compare the user home directory on the new Win2003 server with the home folders on the old server. I want to print the folders which are not found to a logfile This will give me an idea of the folders who...
  5. Councilk

    BSOD when installing Windows 2000 Server

    Hi BigBadBaz1 Did you check the HCL to see if this board and other components are listed among the compatible devices used with 2000? Just curious to know if this was something you may have overlooked. This in addition to the correct scsi drivers for the scsi drive and adapter you have in...
  6. Councilk

    Script to backup files from subfolders based on date

    This worked out just fine for me, sorry for the late response but it's starting to pickup around here
  7. Councilk

    Move file to new folder

    Ohhh! I think I see what you want to do, I see the file you're creating here is the automated FTP script. You also have an strFilePut "*.asc" if the asc file(s) is the one in question and you want to move this file. You may want to "Get" this file from the ftp site and pull it onto your local...
  8. Councilk

    need help with logic in code

    Hello all, I want to grab the user home folder from an AD domain and compare this user account information to the same accounts residing on the backup domain controller. The reason for the mixup is the result of a migration from NT40 to AD I have a script here that writes this account and...
  9. Councilk

    Renaming Home Directory

    I was able to work through this one
  10. Councilk

    Move file to new folder

    Hi vgwprja If this is the file you want to move "strFTPScriptFileName" Based on your code it's already created from this portion of your code "Set objMyFile = objFSO.CreateTextFile(strFTPScriptFileName, True)" So you should only need to use the "move" method from your object "objFSO" Like...
  11. Councilk

    Renaming Home Directory

    Hello all, I have a primary and old domain which users were migrated from and I want to check the home directory against the homeDirectory in the old DC I was thinking it should go something like thisd... Dim objCurrentHome, OldHome Set odsearch =("LDAP:",dc=server,ou=OU,cn="",cn="") Set...
  12. Councilk

    Using the IntReturn function

    Hello no there are no spaces in the path I can redirect the files to a local folder, and I can map the share in the script, see a portion below If UCase(strLog) = UCase("Application") Then strAppFile = "E:\Util\Logs\evntarch\" & strServerName & "-" & GetDateTime() & "-app.log" intReturn =...
  13. Councilk

    Using the IntReturn function

    Hello, I've been able to write a script to move Zip files to a local folder, but I'm trying to use the following which doesn't seem to work See line of code here intReturn = WshShell.Run("pkzip25.exe /add=update /move /temp=strDestSvr & strZipFile & " " & strAppFile,4,True) strDestSvr is a...
  14. Councilk

    Checking user home directory

    Oops! I figured this one out by pulling the value fron the environment variable
  15. Councilk

    Checking user home directory

    Hello all, I need to check a primary sever for user home share against the home shares on a backup server. It the script detects a share missing from the backup server or incorrect share for he user it will create the correct share on the backup server Im trying to figure where I should...

Part and Inventory Search

Back
Top