Gdate
Moderators: Dorian (MJT support), JRL
Gdate
ok, I how do I ask this:
I remember asking about network performance monitor, ok have been using the record option for somethings. im having these charts exported to a folder in one of the drives EX: (c:\bandwidth\weekof_gdate) but i want the folder to have the Gdate (like in the EX:) put at the end of the file name. I think i should post the script i have, but tomorrow sometime during the day i should have it posted.
Before i run the script that goes through all the charts and exports them, i have this one in the beginning --
createdir>c:\bandwidth\weekof
once the whole script is complete i want it to put the gdate at the end of the folder like so (weekof_gdate) in the end of the day i should see (weekof_10_18_04).
Regards,
mdurt
________
Enzo Ferrari (car) history
I remember asking about network performance monitor, ok have been using the record option for somethings. im having these charts exported to a folder in one of the drives EX: (c:\bandwidth\weekof_gdate) but i want the folder to have the Gdate (like in the EX:) put at the end of the file name. I think i should post the script i have, but tomorrow sometime during the day i should have it posted.
Before i run the script that goes through all the charts and exports them, i have this one in the beginning --
createdir>c:\bandwidth\weekof
once the whole script is complete i want it to put the gdate at the end of the folder like so (weekof_gdate) in the end of the day i should see (weekof_10_18_04).
Regards,
mdurt
________
Enzo Ferrari (car) history
Last edited by mdurt on Wed Feb 02, 2011 3:43 pm, edited 1 time in total.
more detail
OK.
It looks good but its not working
it puts in command prompt & displays
c:\adware 6>
________
mflb vaporizer
It looks good but its not working
it puts in command prompt & displays
c:\adware 6>
________
mflb vaporizer
Last edited by mdurt on Wed Feb 02, 2011 3:43 pm, edited 1 time in total.
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Im using windows 2000 pro
it still doing it even with removing the remove trailling spaces
Month>MM
Day>DD
Year>YY
Let>COMSPEC=Cmd.exe
//Create the directory/folder
Run>%COMSPEC% md c:\bandwidth\weekof_%MM%_%DD%_%YY%
I run it and get this
command prompt opens and stays ope with
C:\adware 6>
________
TICKETMASTER GIFT CARDS
it still doing it even with removing the remove trailling spaces
Month>MM
Day>DD
Year>YY
Let>COMSPEC=Cmd.exe
//Create the directory/folder
Run>%COMSPEC% md c:\bandwidth\weekof_%MM%_%DD%_%YY%
I run it and get this
command prompt opens and stays ope with
C:\adware 6>
________
TICKETMASTER GIFT CARDS
Last edited by mdurt on Sat Mar 12, 2011 9:24 am, edited 1 time in total.
Thak you every one,
I figured out how to do it
Month>MM
Day>DD
Year>YY
Let>filename=c:\bandwidth\weekof
Let>newfilename=c:\bandwidth\weekof_%MM%_%DD%_%YY%
MoveFile>filename,newfilename
if theres a better way or simpler. feel free to post it.
________
Honda T360 specifications
I figured out how to do it
Month>MM
Day>DD
Year>YY
Let>filename=c:\bandwidth\weekof
Let>newfilename=c:\bandwidth\weekof_%MM%_%DD%_%YY%
MoveFile>filename,newfilename
if theres a better way or simpler. feel free to post it.
________
Honda T360 specifications
Last edited by mdurt on Wed Feb 02, 2011 3:44 pm, edited 1 time in total.
Ok new problem
Ok the script works great but now it wont change the folder if the folder is being shared.
This is how it goes the: script runs putting these charts into the c:\bandwidth\weekof folder
at the end of the whole script
i put a script to change the folder (weekof) to = (weekof_date)
the good thing is it puts all the charts into the new folder
but that folder isnt being shared on the network.
________
vaporizer store
Ok the script works great but now it wont change the folder if the folder is being shared.
This is how it goes the: script runs putting these charts into the c:\bandwidth\weekof folder
at the end of the whole script
i put a script to change the folder (weekof) to = (weekof_date)
the good thing is it puts all the charts into the new folder
but that folder isnt being shared on the network.
________
vaporizer store
Last edited by mdurt on Wed Feb 02, 2011 3:45 pm, edited 1 time in total.
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
I am confused about what you are doing.
Your first posting sounded like you wanted to make new folders for each week date. Your recent postings sound like you are just renaming existing folders.
Perhaps you are doing both?
Would be good to see the script with explanation.
Your first posting sounded like you wanted to make new folders for each week date. Your recent postings sound like you are just renaming existing folders.
Perhaps you are doing both?
Would be good to see the script with explanation.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!