> What is a better alternative to using the below DOS code?
Why do you need an alternative?
Could use .NET, PowerShell, python, anything'
Sandra TruaxOP 16 months ago
Sandra TruaxOP 16 months ago
Because of Richard's comment on a previous post I made. I attached the conversation.
Scott Axton 16 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.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
TechHelp.
The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.