UnderSeven
asked on
How best to re-write vbs script code wscript
I need to try to get this to work in a vs 2012 project, I have the following segments. I'm not sure I understand what wscript does, here are the example pieces.
objArgs = wscript.Arguments
If (objArgs.Count = 2) Then
DirName = CStr(objArgs(0))
ReadingDate = CDate(objArgs(1))
ElseIf (objArgs.Count = 1) Then
... code here
FileSys = wscript.CreateObject("Scripting.FileSystemObject")
What is your question?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yep. This is what I was looking for. Thanks.