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 SkipVought 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. zimbot

    txt file to bat var

    Funny that yall mention : Cygwin and MSYS because I am "doing what i want ...and Much more ... on linux w a bash script. and oh yes -- windows -- so hard what is the deal with delayed expansion? and the need for objects and such... I will look into Cygwin and MSYS
  2. zimbot

    txt file to bat var

    Thanks much the old setlocal ENABLEDELAYEDEXPANSION and!var! I will give that a try! thanks again.
  3. zimbot

    txt file to bat var

    I have a bat file My goal is to get the running time of a file as a var so that I can compare it but I am not getting the var populated I can pump the output into a txt file "%mi_exe%" --Inform=General;%%Duration/String1%% "%%a">"C:\03_t\trt1.txt" but I do not successfuly get it OUT of the...
  4. zimbot

    uninstall remote agent

    Friends, I have an old server ( win 2k ) that I am retireing and replacing with a new server ( win2003 ). I wish to uninstall the remote agent from the old - freeing the Lic and then install on the new - using that same Cal. Is there a best way to uninstall from the old win server and then...
  5. zimbot

    get the objFile.DateCreated for evaluation

    Oh ....gee whizz , It is Oh so very humbling... ya know ( yeah ... you knew ) those files I was testing with and then the others.... they all had creation dates bigger that september. Boy do i have the red face it works like a million bucks so Thanks On the upside , I have learned much. I...
  6. zimbot

    get the objFile.DateCreated for evaluation

    1... I am certain that the files I have in c:\za are from 09. I have even used some diffrent ones.. I do not even see this work objFSO.moveFile objFile.Path, "C:\zk\2007-09\" . and I have read that I can Move the files , objFSO.copyFile now is objFSO.moveFile that is a better idea for me...
  7. zimbot

    get the objFile.DateCreated for evaluation

    I wonder why an echo like this WScript.Echo "created is " & get_yyyy_mm(objFile.DateCreated) does not return : created is 2007-10 and why isn't If get_yyyy_mm(objFile.DateCreated) = get_yyyy_mm(dateadd("m",-1,date)) Then the same as If get_yyyy_mm(objFile.DateCreated) = lstmo Then...
  8. zimbot

    get the objFile.DateCreated for evaluation

    Iwasn't taking any critisim... and I do thnak you for your help... what do you mean by " watch the datecreated as shown in the context menu R on the file you said not being copied over. " menu R .... I , sorry , have not understood that iether. I plead for your understanding. Also... you have...
  9. zimbot

    get the objFile.DateCreated for evaluation

    I did not fully notice the change of 2007-9 to the 2007-09 ......... function get_yyyy_mm(d) 'd type date get_yyyy_mm=year(d) & "-" & right("00" & month(d),2) end function ............ I almost understand that. yes I can see that ... that is better and you are creating it in th final...
  10. zimbot

    get the objFile.DateCreated for evaluation

    Yes , I have heard that I am making another objFSO when i can just reuse the one... What can i say , I guess I thought : if I need one I need to make one ... I understand that that is wrong - but have not changed it. Or rather I changed it once ( when i changed lots of things ) and it all...
  11. zimbot

    get the objFile.DateCreated for evaluation

    Friends, I have some code that I am struggling with.. my goal is to make a dir named 2007-10 and then move files that were created in the month of october in there. I am very close ... I can make the dir but I am having trouble with the evaluation here is my code:::::::::::::: '...

Part and Inventory Search

Back
Top