Need Vbscript help
Hi Everyone,
I need a vbs which would search for a file given as an input by the User and then retrieve the details of that file like its size,version, date modified,created and acceessed. Then it should write these results to an output file. Any help is appreciated
Regards,
Harie
I need a vbs which would search for a file given as an input by the User and then retrieve the details of that file like its size,version, date modified,created and acceessed. Then it should write these results to an output file. Any help is appreciated
Regards,
Harie
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
pjgeutjens
15 years ago
Posted by:
anonymous_9363
15 years ago
Getting the file version isn't as simple as it sounds, since - bizarrely - the FileSystemObject object has no native property for file version.
There is a file property class file on JSWare (http://www.jsware.net). I have just used (my edited version) in a log-in script addition for my current client, where the script needed to branch according to a DLL version difference.
As for the script you require, PM me with the details and I'll send you a quote. Since I expect that that will never happen, you should probably visit http://www.computerperformance.co.uk, download samples of scripts which perform the separate functions that you want (i.e. file search, results output, etc.) and then build a script which combines them.
EDIT:
BTW, it's probably not the best idea to use your email address as a 'nickname' on a public forum. Unless you sell anti-spam software, of course...
There is a file property class file on JSWare (http://www.jsware.net). I have just used (my edited version) in a log-in script addition for my current client, where the script needed to branch according to a DLL version difference.
As for the script you require, PM me with the details and I'll send you a quote. Since I expect that that will never happen, you should probably visit http://www.computerperformance.co.uk, download samples of scripts which perform the separate functions that you want (i.e. file search, results output, etc.) and then build a script which combines them.
EDIT:
BTW, it's probably not the best idea to use your email address as a 'nickname' on a public forum. Unless you sell anti-spam software, of course...
Posted by:
pjgeutjens
15 years ago
Posted by:
anonymous_9363
15 years ago
So there is! http://msdn.microsoft.com/en-us/library/b4e05k97%28VS.85%29.aspx How did I miss that? :)
What I should perhaps have said was that the 'File' object has no native property. That's where one would expect it, anyway.
What I should perhaps have said was that the 'File' object has no native property. That's where one would expect it, anyway.
Posted by:
hari.ram66@gmail.com
15 years ago
hEY GUYS.. THANKS.. SORRY FOR THE DELAYED REPLY.. WAS WORKING ON A DIFFERENT PROJECT AND WAS AWAY ON A LONG LEAVE.. Thanks once again.. will try combining the inputs given n will get back to u tomorrow..
@vbscab: even i dont want to use my email id.. its got registered that way.. am not able to change it now..:-( :-( :-(
@vbscab: even i dont want to use my email id.. its got registered that way.. am not able to change it now..:-( :-( :-(
Posted by:
anonymous_9363
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.