DaRkSe7eN Posted September 27, 2013 Posted September 27, 2013 Hi guys..What command can i put at RunOnce to execute (run only) a .cmd file?..The .cmd file is located on my cd \OEM\RunOnce
Intel1 Posted September 27, 2013 Posted September 27, 2013 %SOURCE%\OEM\RunOnce\yourfile.cmdGreetings
DaRkSe7eN Posted September 30, 2013 Author Posted September 30, 2013 %SOURCE%\OEM\RunOnce\yourfile.cmdGreetingsStill doesn't work. My .cmd file doesn't auto-execute after welcome screen.
Guest Posted September 30, 2013 Posted September 30, 2013 %SOURCE% includes a trailing backslash (\). You may want to try the following: %SOURCE%OEM\RunOnce\yourfile.cmd
DaRkSe7eN Posted October 1, 2013 Author Posted October 1, 2013 (edited) %SOURCE% includes a trailing backslash (\). You may want to try the following:%SOURCE%OEM\RunOnce\yourfile.cmdI've tried this patterns but still doesn't work..%SOURCE%\OEM\RunOnce\yourfile.cmd%SOURCE%OEM\RunOnce\yourfile.cmdDo i need to remove the spaces between my .cmd file name?..~ My .cmd file name is "WXPx86BE - Setup.cmd" Edited October 1, 2013 by DaRkSe7eN
DaRkSe7eN Posted October 1, 2013 Author Posted October 1, 2013 Yes, remove the spaces.It Works.. But my .cmd file executes after i set my user account..The sequence must be : Set my User account, Apply System Setting, Desktop, And my .cmd will auto-execute..Please help me..
Guest Posted October 1, 2013 Posted October 1, 2013 (edited) You have a few options. What you've already stated may not be possible. Why so specific? Edited October 1, 2013 by 5eraph
DaRkSe7eN Posted October 1, 2013 Author Posted October 1, 2013 You have a few options. What you've already stated may not be possible. Why so specific?It is possible because i've already seen it. Picture .. It is from Windows XP Professional SP3 Black Edition.. And i want to do it with my own copy of Legit Windows XP Installation CD..
Guest Posted October 1, 2013 Posted October 1, 2013 (edited) That's a means to an end. It requires adding registry entries through your CMD file, or directly through nLite via another method, related to the following key: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceTo help further with specific entries it is necessary to know what end you're trying to reach. Be specific. EDIT: Figure I'll add this before jaclaz does. http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/put-down-the-chocolate-covered-banana.html Edited October 1, 2013 by 5eraph
Guest Posted October 1, 2013 Posted October 1, 2013 Try adding the following command to nLite's RunOnce. I'm unable to test without more information from you. REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v "Task" /d "%SOURCE%OEM\RunOnce\yourfile.cmd" /f
jaclaz Posted October 2, 2013 Posted October 2, 2013 (edited) EDIT: Figure I'll add this before jaclaz does. http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/put-down-the-chocolate-covered-banana.htmlBut you got the wrong link , in this case jaclaz would have most probably earlier used the Standard Litany one (which is introductory to the chocolate covered banana issue) :http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/problem-report-standard-litany.htmljaclaz Edited October 2, 2013 by jaclaz
DaRkSe7eN Posted October 2, 2013 Author Posted October 2, 2013 Try adding the following command to nLite's RunOnce. I'm unable to test without more information from you.REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v "Task" /d "%SOURCE%OEM\RunOnce\yourfile.cmd" /fThanks for the BIG help.. It works exactly what I really want to..
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now