Jump to content

JeffA

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Posts posted by JeffA

  1. Thanks Mijzelf.

    I am new to j scripting so do bear with me.

    1 I coiped the code as is from the first text box 'creating the code' in notepad and saved as 'mount.js' - I am aware that I will need to replace share name, user and password with relevant data.

    2 I downloaded script encoder from the Microsoft website (sce10en.exe) and installed. Download address was

    http://www.microsoft.com/downloads/details...;displaylang=en

    However, I am not able to invoke script encoder from the dos promt as it tells me that 'screnc' is not a recognised as an internal or external command. Could this be because 'mount.js' is not saved in a required location - I have just saved it at the root of C currently.

    3 Pre emptive question - Once I am able to encrypt 'mount.js' into 'mountenc.js', I am guessing that I need to copy and paste content of 'mountenc.js' in between the quotes on line 4 of final box </SCRIPT> - eg </ xxxxxxxxxxx> and then save the whole thing as mount.hta for example.

    Kindly advise. Thanks

    Jeff

  2. All,

    I am trying to write a batch file to connect my kids' PC to mine (XP Pro on both in the same workgroup) at startup. I am aware of the syntax that should do this automatically, as listed below:

    net use S: \\192.168.1.64\blobs$ /user password where user is a valid username on my PC and password is that user's pssword on my PC.

    My problem however is that I do not want to reveal the password to the kids ... so I would like a script to run on their machine that connects to let's say network share blobs$ with a username and a password on my computer but NOT show them the password in the command window whist it is running. How can I do that?

    I do not wish to create the same username and password that they use on their machine onto mine as I know that will work but it is also annoying to have to create an account for them since I do not intend letting them use my PC.

    Many thanks for your help.

    Jeff A

×
×
  • Create New...