Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nerram

    Disconnect drives based on the server they are mapped to

    Problem Solved Here is what I done: Set WshNetwork = WScript.CreateObject("WScript.Network") Set clDrives = WshNetwork.EnumNetworkDrives strServer = WScript.Arguments(0) For i = 0 to clDrives.Count -1 step 2 If UCase(strServer) = UCase(Left (clDrives.Item(i+1), Len(strServer))) Then...
  2. nerram

    Disconnect drives based on the server they are mapped to

    Not quite what I am looking for. I need the connection to be shut down based on the server it is connected to.
  3. nerram

    Disconnect drives based on the server they are mapped to

    Hi, I was wondering is there anyway to delete all drives mapped to a server. e.g see below drive server f:\ \\server1\share1 g:\ \\server1\share2 h:\ \\server2\share1 j:\ \\server2\share2 k:\ \\server1\share3 In this scenario I would like to...
  4. nerram

    dll's general question

    Why does it make no sense to link a COM dll?
  5. nerram

    dll's general question

    I have got a dll that someone else wrote. I need to use it. I was told it has COM Registration stuff. What are the implications with importing this dll into VC++? Plus I have released that my English isnt very concise and accurate when talking about dlls. Do you import a dll or link it or...
  6. nerram

    Location to the script?

    How do I find the location to a script? EG My Script is stored at c:\Projects\Scripts\MyScript.vbs I want the script to output its location ie c:\Projects\Scripts\MyScript.vbs But if it was stored at d:\MyScript.vbs it should output d:\MyScript.vbs
  7. nerram

    Run a .reg file

    not allowed to show you the reg file. But your reply has kinda answered my questions anyway.
  8. nerram

    Run a .reg file

    I made a mess of this question. So to start over : I have a .reg file that I need to install, I then need to some testing and finally I need to uninstall same .reg file. Uninstalling the reg file is where I am having problems. Is there a command line switch on regedit to uninstall a reg file?
  9. nerram

    Run a .reg file

    Sorry I forgot to mention i need it to uninstall a .reg file
  10. nerram

    Run a .reg file

    I need a Vbscript to run a .reg file silently but am having great difficulty in doing. Will I have to parse in the whole file. Any ideas?
  11. nerram

    The following is the contents of a

    I think the first hurdle is actually getting whats in the file into a single variable. I can change the way it is encrypted so there are no lines. I am still stuck as it only reads in the first three characters.
  12. nerram

    The following is the contents of a

    I need to decrypt the contents of the file so I need to get the contents into a variable do I not? The way I wrote the encryption was to put my username on line 1 and my password on line 2. Should I review the way I did this? What would be a better suggestion
  13. nerram

    More Fun With JavaScript....

    Is the impossible level really impossible?
  14. nerram

    The following is the contents of a

    The following is the contents of a text file I wish to read: P$öóŦ :mk ¨=EdQ°Ïºü­z³ÔqSM,Ý ‹RŒÇý${” It is the output of an encrpyion process. I am trying to read the first line into var1 and the second line into var2. When I try to read the file it only reads the first three characters. I...
  15. nerram

    VBScript Editor

    Yeah I have PrimalScript already but never new about the dim(ing) of myobj thing excellent tip. PrimalScript is the way to go then so.
  16. nerram

    VBScript Editor

    Hi, I am looking for a VBScript editor. One with autocomplete functionality ie when you type MyObject. a list of member functions etc are displayed.
  17. nerram

    Embedded Password

    User is not allowed to enter a password. The execution of this program has to be done automatically.
  18. nerram

    Reverse Engineer MSI

    Edit the msi file with an editor like wise for windows installer, installshield or orca. An MSI is a relational database and the tables will show you what changes were made. For example the registry table holds all the registry information. If you can install the msi again you can capture the...
  19. nerram

    Embedded Password

    Maybe I am overlooking something really simple but how can a log onto my server with an un-Decryptable password.
  20. nerram

    Embedded Password

    The user has no password input into this program it must connect transparently to the user. If I store the password (encrptyed) in a file and the the exe stores the (public) key, could some malicous person having full access to the exe and text file deduce the password.

Part and Inventory Search

Back
Top