Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
NIkoloout

Change the directory of example.hta

1 post in this topic

So guys I have create a windows pe 3.0 in a usb stick.I made a beautifull example.hta to start.(windows 7 32-bit).I add all the packages in my pe.The direction is

mshta.exe X:\Windows\System32\example.hta

I create a folder in the usb stick and in the startnet.cmd change the direcrtory.

winpeshl.ini

mshta.exe u:\folder\example.hta

I have 2 problems.

First when my pe boots i dont know what drive letter is my usb stick.Do you know how i can set a standar drive letter to my usb?(Maybe with a script or something else?)

Now when i boot my pe with the directory u:\folder\example.hta it shows a .hta with white screen and nothing else....Somebody can help to tell me why?

The reason is that if i want to make changes to my .hta i have to mount and unmount my pe all the time.If I set a folder in my usb I can change my .hta without mount or unmount all the time my pe.

Edited by NIkoloout
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.