Just used a Let statement.
Thanks for everything!!!! You saved me a lot of grief.
Search found 9 matches
- Tue Nov 02, 2004 5:01 pm
- Forum: Technical / Scripting
- Topic: File Rename based on date.
- Replies: 12
- Views: 10813
- Tue Nov 02, 2004 4:47 pm
- Forum: Technical / Scripting
- Topic: File Rename based on date.
- Replies: 12
- Views: 10813
Thank you!
Works great!!! Thanks for the quick and helpfull lesson!
One last question.. How do I change the CL_OVERWRITE=0 variable to 1?? I have looked through the program and the .ini file, but cannot locate it.
Shawn
One last question.. How do I change the CL_OVERWRITE=0 variable to 1?? I have looked through the program and the .ini file, but cannot locate it.
Shawn
- Tue Nov 02, 2004 3:22 pm
- Forum: Technical / Scripting
- Topic: File Rename based on date.
- Replies: 12
- Views: 10813
Step looks good
Bob, the step looks good and appears to execute. I put an IfFileExists check on the destination and it comes up successful. I even tried changing to a locat directory, but still no file. Here is what I have right now: Let>SourcePath=S:\CTV Let>DestPath=\\MINT02\Share\SHARE\SMP\DialerRecon Month>MM D...
- Tue Nov 02, 2004 2:32 pm
- Forum: Technical / Scripting
- Topic: File Rename based on date.
- Replies: 12
- Views: 10813
mmm
Everything looks fine and it says the file has been copied correctly, but when I look in the destination folder, it does not exist??
Any ideas?
Shawn
Any ideas?
Shawn
- Tue Nov 02, 2004 2:22 pm
- Forum: Technical / Scripting
- Topic: File Rename based on date.
- Replies: 12
- Views: 10813
Good advice
Bob, I took your advice and studied the Syntax and found that by replacing this:
MidStr>%Year%,3,2,YY
With this:
MidStr>%YYYY%,3,2,YY
It corrected the issue.
Thanks so much for your guidance!
Shawn.
MidStr>%Year%,3,2,YY
With this:
MidStr>%YYYY%,3,2,YY
It corrected the issue.
Thanks so much for your guidance!
Shawn.
- Tue Nov 02, 2004 2:18 pm
- Forum: Technical / Scripting
- Topic: File Rename based on date.
- Replies: 12
- Views: 10813
Close!
Thanks for your assistance Bob, so very much appreciated! Everythings seems to run smooth, with the exception of the following MidStr command. After stepping through, it looks for the filename: 1102eapool55inv.txt MidStr>%Year%,3,2,YY Let>FileName=%MM%%DD%%YY%pool55inv.txt I attempted changing some ...
- Mon Nov 01, 2004 9:52 pm
- Forum: Technical / Scripting
- Topic: File Rename based on date.
- Replies: 12
- Views: 10813
Format
Thanks so much for your reply Bob. I am so new to this. So, how would this scrupt look laid out. Am I replacing my filename is the variable "FileName". And when I write the line to copy, what does the syntax look like.
I really appreciate your assistance!
Shawn.
I really appreciate your assistance!
Shawn.
- Mon Nov 01, 2004 9:04 pm
- Forum: Technical / Scripting
- Topic: how to copy a file
- Replies: 2
- Views: 3294
- Mon Nov 01, 2004 8:27 pm
- Forum: Technical / Scripting
- Topic: File Rename based on date.
- Replies: 12
- Views: 10813
File Rename based on date.
I have several files located and named as follows: S:\CTV\102904pool55inv.txt This file is auto created every day and the modified date reflecting each day. I need to automatically look in this directory for these files that are new every morning and rename then and copy them to this location: \\MIN...