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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pawelem

    Remove Old ( working ) + msgbox info ( not working)

    oww, your good, really good .. exactly what I needed ! Thanks
  2. pawelem

    Remove Old ( working ) + msgbox info ( not working)

    On Error Resume Next Set oFileSys = WScript.CreateObject("Scripting.FileSystemObject") sRoot = "C:\PATH" today = Date nMaxFileAge = 1 DeleteFiles(sRoot) Function DeleteFiles(ByVal sFolder) Set oFolder = oFileSys.GetFolder(sFolder) Set aFiles = oFolder.Files Set aSubFolders =...
  3. pawelem

    destination folder depending on month

    Hey! it's me one more time... I learned a lot from your advices (thanks one more time) so I deleted 12 ifs and added 3rd party powershell script to mail me if somethings goes wrong but I have one problem... if source folder is empty i will also recieve email because script thinks this is...
  4. pawelem

    destination folder depending on month

    Guitarzan THANKSS!!! your suggestion was very helpfull.. "IT'S AAALLIIIIVEE" [2thumbsup]... finally! so it is : MAPPING ( with other letter than Z) SCRIPT and REMOVE line at the end... its going every 5 minutes now .. :) .... Guitarzan if you have some more patience.. any idea how this...
  5. pawelem

    destination folder depending on month

    THANKS FOR SUPPORT !!!!! Everything is working now.. but I have big problem with Task Scheduler.. My Script is working when I will click on it two times ( I mean on icon ) but I need it to work with task scheduler so I made new task..... and when task scheduler runs this script I get info 'PATH...
  6. pawelem

    destination folder depending on month

    hey I did it ! :) but here i have another problem and I don't understand it. my script is working like I wanted .. so I made new task in task scheduler but now he is giving me 800A004C error... ( path not found) ?? when i click on it with mouse or run it in cmd it is working .... any ideas...
  7. pawelem

    destination folder depending on month

    Hey guitarzan... My code is so simple that I ashamed ... ( I am really beginner ) Const OverwriteExisting = TRUE Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.CopyFile "C:\log1\*.*" , "Z:\iRT\IT\test\", OverwriteExisting If this could somehow be able to check current month...
  8. pawelem

    destination folder depending on month

    Hello everybody! I am new here because I am looking for help with my vbs script. (sorry for my english if I will make any mistakes) So my script need to copy every files from source folder into other destination folder which is on mapped drive --- and this part is ready and working. I...

Part and Inventory Search

Back
Top