> What is a better alternative to using the below DOS code?
Why do you need an alternative?
Could use .NET, PowerShell, python, anything'
Sandra Truax 3 months ago
Sandra Truax 3 months ago
Because of Richard's comment on a previous post I made. I attached the conversation.
Scott Axton 3 months ago
Sandra I believe that you can use the DatePart function to build up your variable parts for the Y/M/D. Then just concatenate them together to replace the
"d:\j\%YEAR%\%MONTH%" part of your
I know you aren't there yet but Richard starts covering the File System Object Starting in Developer 33 and continues on in 34 and 35. Those may be of use (eventually).
One thing I would add is, "If it ain't broke, why fix it?". I don't see an issue with how you are doing it now.