Jump to content

ryarnell

Member
  • Posts

    7
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About ryarnell

ryarnell's Achievements

0

Reputation

  1. Hello, I am having some trouble running ImageX from a vbScript in VistaPE. Here is what the script looks like and the error it throws. Dim Shell Dim myResult Set shell = CreateObject("WScript.Shell") myResult = shell.Run("imagex.exe", 1, True) When I run this is get: The operation was cancelled by the user. Here is what I have done / tried. If I replace imagex with notepad, notepad comes up just fine so, I know the script is OK. I have imagex.exe in the same directory as the script. I have even added the path like this "c:\test\imagex.exe" still the same error. I even copied imagex.exe over to the system32 directory so it would be in the path and still get the same error. If I type imagex.exe at the prompt it gives the normal help output to the screen you would expect to see. I can also type out the whole line with /apply and it works from the command line. It just doesn't work inside the script. Has anyone else ever seen this or know how to make this work. Thanks a bunch.
  2. When you create a new VistaPE directory using the copype.cmd command it creates winpe.wim file in the root of your directory and the boot.wim in the ISO\sources directory. What is the difference in these files and when would you use one over the other. Sorry if this has been answered already I did a search but could not find anything. Thanks, Robin
  3. @gadget, Thank you so much. That worked like a charm. I can't beleive in all the years I have worked on/with MS products I have never heard of or used subst command. Thanks again, Robin
  4. So then is it not possible to create a second RAM drive with a specific drive letter or can you only have 1 RAM drive at a time. If it is possible I guess all I need to know is how do you create one? Thanks again, Robin
  5. Anyone have any ideas at all on this one. Thanks again in advance. Robin
  6. I am booting from a CD and I get the X: dirve. I really want it to be the B: drive. Or create a new one that has B: as the drive letter. I have several scripts and programs that reference the B: drive. I could go back a re-write it all but it would be much eaiser to just have the B: drive there. Thanks, Robin
  7. How can I create a RAM Drive in Vista PE or PE 2.0 I know MS has an area already created called the Scratch area but, I really need a RAM disk with a specific drive letter. Thanks in advance,
×
×
  • Create New...