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
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...
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...
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...
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...
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...
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...
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...
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...
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::::::::::::::
'...
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.