Help - Search - Members - Calendar
Full Version: HFGUIRUNONCE & VBScripts
MSFN Forums > Member Contributed Projects > HFSLIP

   


Google Internet Forums Unattended CD/DVD Guide
mserbin
I was curious as to whether it would be possible to take a VBScript that sets the Power Options for a user account and integrate this into the Windows setup process by including the .vbs into the HFGUIRUNONCE folder. I read some of the forum posts that indicated the acceptable file types that could go in this folder but VBScript was not mentioned. I thought it might work since batch files work and the vbscript itself takes no parameters or outside arguments as inputs. Please let me know if anyone thinks this might be possible.
tommyp
hfslip doesn't support vbscripts. You're best bet is to ask on the unattended forum.
Geej
U can try to create a batch file with the following syntax:

CODE
Start "poweroption" /B wscript poweroption.vbs

Put poweroption.vbs & poweroption.cmd in HFGUIRUNONCE and see how it goes. (Not tested)

If it is not working, I believe it can be replace with a .reg file since it is kinda of registry tweak.

edit:
Did a small testing and the following works:

create and put a batch file (say poweroption.cmd) in HFGUIRUNONCE
CODE
wscript %windir%\poweroption.vbs
exit


Put poweroption.vbs in HFEXPERT\WIN folder




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.