Search found 1789 matches
- Thu May 24, 2007 11:26 pm
- Forum: VBScript
- Topic: VB script to download shares
- Replies: 4
- Views: 2794
So when you use Wbemtest to connect to the remote machine, can you successfully run the query with your current credentials, or do you need to specify admincredentials? If the latter, then you need to rewrite your script using the SWbemscripting object which allows you to specify alternate credentia...
So when you change the value of strComputer to a remote machine you get the error? Does it work for the localhost? It works fine for me both ways. What OS is on the remote computer? Are you running it with admin credentials for the remote computer? What happens when you use WBEMTest and run a query ...
I don't know enough about SQL, but can the DTS process execute an external command, like run a script or copy a file? Really, this process is the only one which will really know when the file copy is complete so if we can get it to create the flag file, so much the better.I also have another idea fo...
I think we can safely say don't try this at home or work. I tried something similiar in PowerShell$large=gc large3.txtI killed PowerShell after 12 minutes. My free physical RAM dropped from 750MB to around 3MB, and my pagefile maxed out its size and started swapping. Jim's statement about no string ...
LogParser would definitely be an effective tool. Otherwise, you might be able to open the log file using ADO and treat it as a database in VBScript. But Logparser will be more efficient since this is exactly the job it was designed for.
I created a 209MB ASCII text file. I tried using the ReadAll method and got a an out of memory error message. My computer has 1.5GB of RAM. I had almost 800MB of free physical memory. I watched mem usage do down to about 420MB free before it erred out. Here's the script I threw together to create a ...
- Tue May 22, 2007 12:34 am
- Forum: VBScript
- Topic: Querying from an SQL Database using VBScript
- Replies: 2
- Views: 19217
I used a trusted connection. Here are some other connection string examples:http://www.connectionstrings.com/?carrier=sqlserver