<?xml version="1.0"?>
<rss version="2.0"><channel><title>Scripting and Programming Latest Topics</title><link>https://www.wincert.net/forum/forum/127-scripting-and-programming/</link><description>Scripting and Programming Latest Topics</description><language>en</language><item><title>Recommendations for WinForms UI Controls in .NET Applications</title><link>https://www.wincert.net/forum/topic/35723-recommendations-for-winforms-ui-controls-in-net-applications/</link><description><![CDATA[<p>
	<span style="font-size:12pt;">Has anyone used data visualization controls within Windows Forms applications? I’m working on enhancing a .NET app’s UI and am exploring options for feature-rich and responsive components. I came across Syncfusion’s <a href="https://www.syncfusion.com/winforms-ui-controls" rel="external nofollow">WinForms UI controls</a> and was curious if anyone here has experience with them or similar tools for customizing data grids, charts, or forms in WinForms. Any advice on performance or ease of integration?</span>
</p>
]]></description><guid isPermaLink="false">35723</guid><pubDate>Wed, 13 Nov 2024 11:25:34 +0000</pubDate></item><item><title>script for cross posting</title><link>https://www.wincert.net/forum/topic/16430-script-for-cross-posting/</link><description><![CDATA[<p>
	looking for a script to help cross post stuff from ebay, posh, mecari, facebook, ect.
</p>

<p>
	hope this is the right place to ask and if not sorry.
</p>
]]></description><guid isPermaLink="false">16430</guid><pubDate>Sun, 17 Jan 2021 06:09:29 +0000</pubDate></item><item><title>Need CMD script for making CAB archives with MSZIP compression</title><link>https://www.wincert.net/forum/topic/7412-need-cmd-script-for-making-cab-archives-with-mszip-compression/</link><description><![CDATA[<p>Hi, can some one help me with? I really want CMD script which will read all files in folder and make CAB archive with MSZIP compression - i need this compression because i moding ported Vista games XMLs in cardlib etc.</p>
]]></description><guid isPermaLink="false">7412</guid><pubDate>Tue, 26 Jan 2010 21:07:58 +0000</pubDate></item><item><title>Simple program to kill a program</title><link>https://www.wincert.net/forum/topic/13743-simple-program-to-kill-a-program/</link><description><![CDATA[<p>
	Can someone help me with a very simple program that can run in the background?
</p>

<p>
	I need to kill a task based on a filename whenever it starts. I am running Windows 10 x64 if it matters.
</p>
]]></description><guid isPermaLink="false">13743</guid><pubDate>Fri, 26 Jan 2018 03:56:58 +0000</pubDate></item><item><title>HideKBs.vbs Windows Script Host 0x80240044 Source: (null)</title><link>https://www.wincert.net/forum/topic/13188-hidekbsvbs-windows-script-host-0x80240044-source-null/</link><description><![CDATA[<p>Hello Wincert guru's help needed for an average user (me) with absolutely ZERO knowledge or experience w/scripting. I've used a "<strong><a href="http://www.msfn.org/board/topic/163162-hide-bing-desktop-and-other-windows-updates/" rel="external nofollow">Hide KB's" .vbs</a></strong> in Windows 7 for years and upon attempting to employ the same in Windows 8.1 I get the following error shortly after launching:<br> </p><pre class="ipsCode prettyprint">---------------------------Windows Script Host---------------------------Script:    C:\Users\XXXX\Desktop\HideKBs_Win_8-1.vbsLine:    72Char:    1Error:    0x80240044Code:    80240044Source:     (null)---------------------------</pre><p>Contents of the VBS:</p><p></p><p></p><blockquote><p></p></blockquote><pre class="ipsCode prettyprint">' Maxpsoft May 30, 2013, 9:34:15 PM' 06/18/2013 Add extra for Bing Desktop v1.3' 06/28/2013 Updated to continue searching as long as it is finding something otherwise Quit'' Original Mike.Moore Dec 17, 2012 on answers.microsoft but when ran it Hide everything so no good.' Link to script: <a href="http://www.msfn.org/board/topic/163162-hide-bing-desktop-and-other-windows-updates/">http://www.msfn.org/board/topic/163162-hide-bing-desktop-and-other-windows-updates/'</a> You may freely use this script as long as you copy it complete and it remains the same except for adjusting hideupdates.' If I need to change something then let me know so all may benefit.Dim WSHShell, StartTime, ElapsedTime, strUpdateName, strAllHiddenDim Checkagain 'Find more keep going otherwise QuitDim hideupdates(6) 'TO ADD 1 EDIT THE (#) AND ADD another hideupdates(#)hideupdates(0) = "KB2876229"hideupdates(1) = "KB2512827"hideupdates(2) = "KB2526954"hideupdates(3) = "KB2617986"hideupdates(4) = "KB2668562"hideupdates(5) = "KB2977218"hideupdates(6) = "KB3056819"Set WSHShell = CreateObject("WScript.Shell")StartTime = Timer 'Start the TimerSet updateSession = CreateObject("Microsoft.Update.Session")updateSession.ClientApplicationID = "MSDN Sample Script"Set updateSearcher = updateSession.CreateUpdateSearcher()Set searchResult = updateSearcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")Checkagain = "True"For K = 0 To 10 'Bing Desktop has 4, Silverlight has 5If Checkagain = "True" ThenCheckagain = "False"CheckUpdatesParseUpdatesEnd ifNextElapsedTime = Timer - StartTimestrTitle = "Windows Updates Hidden."strText = strAllHiddenstrText = strText &amp; vbCrLf &amp; ""strText = strText &amp; vbCrLf &amp; "Total Time " &amp; ElapsedTimeintType = vbOkOnly'Silent just comment these 2 lines with a ' and it will run and quitSet objWshShell = WScript.CreateObject("WScript.Shell")intResult = objWshShell.Popup(strText, ,strTitle, intType)'Open Windows Update after remove the comment ''WshShell.Run "%windir%\system32\control.exe /name Microsoft.WindowsUpdate"Set objWshShell = nothingSet WSHShell = NothingWScript.QuitFunction ParseUpdates 'cycle through updatesFor I = 0 To searchResult.Updates.Count-1Set update = searchResult.Updates.Item(I)strUpdateName = update.Title'WScript.Echo I + 1 &amp; "&gt; " &amp; update.TitleFor j = 0 To UBound(hideupdates)if instr(1, strUpdateName, hideupdates(j), vbTextCompare) = 0 thenElsestrAllHidden = strAllHidden _&amp; vbcrlf &amp; update.TitleUpdate.IsHidden = True'Checkagain = "True"end ifNextNextEnd FunctionFunction CheckUpdates 'check for new updates cause Bing Desktop has 3Set updateSession = CreateObject("Microsoft.Update.Session")updateSession.ClientApplicationID = "MSDN Sample Script"Set updateSearcher = updateSession.CreateUpdateSearcher()Set searchResult = _updateSearcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")End Function</pre><p></p><p> </p><p>Any help/guidance would be greatly appreciated. <img src="https://www.wincert.net/forum/theme/emoticons/default_smile.png" alt=":)" srcset="https://www.wincert.net/forum/theme/emoticons/smile@2x.png 2x" width="20" height="20" loading="lazy"></p><p> </p>
]]></description><guid isPermaLink="false">13188</guid><pubDate>Wed, 22 Jul 2015 23:53:00 +0000</pubDate></item><item><title>SetupCompete.cmd</title><link>https://www.wincert.net/forum/topic/13104-setupcompetecmd/</link><description><![CDATA[<p><span style="font-family:Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif;font-size:13px;">I have two EXE files to run on first logon when Windows installation competes, anyone can help me to make </span><u>SetupComplete.cmd</u><span style="font-family:Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif;font-size:13px;">?</span><br><span style="font-family:Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif;font-size:13px;">First file named: one.exe</span><br><span style="font-family:Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif;font-size:13px;">Second file named: act.exe</span></p>
]]></description><guid isPermaLink="false">13104</guid><pubDate>Thu, 21 May 2015 15:20:08 +0000</pubDate></item><item><title>Delete lines from the hosts file via .bat</title><link>https://www.wincert.net/forum/topic/11460-delete-lines-from-the-hosts-file-via-bat/</link><description><![CDATA[<p style="color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;">HelL0 guyz... neEd sum HeLp in batch..</p><p style="color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;"> </p><p style="color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;">I hav a batch script that edits my hosts file, i use it to block facebook on my pc temporarily, becuz i want no one to use facebook on my pc except me..  <span><img src="http://www.nsaneforums.com/public/style_emoticons/default/happy.png" alt="happy.png" loading="lazy"></span> , so when i'm done on my pc, i just run the batch script and facebook get blocked on my pc..</p><p style="color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;">and also i use it for some other purpose..</p><p style="color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;"> </p><p style="color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;">Here is my batch script:</p><p style="font-size:12px;font-weight:bold;color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;">Quote</p><blockquote data-ipsquote="" class="ipsQuote"><div><p> </p><p>@ECHO OFF</p><div style="margin:0px;"> </div><div style="margin:0px;">SET NEWLINE=^&amp; echo.</div><div style="margin:0px;"> </div><div style="margin:0px;">FIND /C /I "www.facebook.com" %WINDIR%\system32\drivers\etc\hosts</div><div style="margin:0px;">IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 www.facebook.com&gt;&gt;%WINDIR%\system32\drivers\etc\hosts</div><div style="margin:0px;"> </div><div style="margin:0px;">FIND /C /I "<a href="http://www.facebook.com/" title="" rel="external nofollow">http://www.facebook.com/</a>" %WINDIR%\system32\drivers\etc\hosts</div><div style="margin:0px;">IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1<a href="http://www.facebook.com/" title="" rel="external nofollow">http://www.facebook.com/</a>&gt;&gt;%WINDIR%\system32\drivers\etc\hosts</div><div style="margin:0px;"> </div><div style="margin:0px;">FIND /C /I "<a href="https://www.facebook.com/" title="" rel="external nofollow">https://www.facebook.com/</a>" %WINDIR%\system32\drivers\etc\hosts</div><div style="margin:0px;">IF %ERRORLEVEL% NEQ 0 ECHO ^127.0.0.1<a href="https://www.facebook.com/" title="" rel="external nofollow">https://www.facebook.com/</a>&gt;&gt;%WINDIR%\system32\drivers\etc\hosts</div><div style="margin:0px;"> </div><div style="margin:0px;">ipconfig /flushdns</div><div style="margin:0px;"> </div><div style="margin:0px;">CLS</div><div style="margin:0px;"> </div><div style="margin:0px;">EXIT</div></div></blockquote><div style="margin:0px;color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;"> </div><div style="margin:0px;color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;"><div style="margin:0px;">So its just easy to edit my hosts file via this batch script, but its very annoying to revert the change, becuz to get facebook back, i hav to delete these lines from the hosts file, and i do it manually..</div><div style="margin:0px;">So my question is;</div><div style="margin:0px;">Is there anyway to delet specific lines from the hosts file with a single batch file like this one that add lines..?</div><div style="margin:0px;">I think the above script needs a bit change but i dont know how.., all i know is that the above script first scans the hosts file for the specific line, if found then it ignores and proceed to next cammand, if not found then it adds the line.., there is the FIND command,, so i think after FIND command we can add a command something like DEL, so that it wil delete the line instead of adding it..</div><div style="margin:0px;">but i cant do it, as i d0nt hav much experience in CMD..</div><div style="margin:0px;">and plz do note that i hav anothr batch script that can delete the specific lines but it requires another .txt file which contains the lines.. and i want a single standalone .bat file like the one above that adds the line..</div><div style="margin:0px;">Any help will be appreciated..</div><div style="margin:0px;">And sorry if found my english bad....</div><div style="margin:0px;">Thanx   <span><img src="http://www.nsaneforums.com/public/style_emoticons/default/smile.png" alt="smile.png" loading="lazy"></span></div></div><p style="color:rgb(40,40,40);font-family:helvetica, arial, sans-serif;">Regards...</p>
]]></description><guid isPermaLink="false">11460</guid><pubDate>Thu, 22 Aug 2013 18:23:46 +0000</pubDate></item><item><title>Batch file issues set command</title><link>https://www.wincert.net/forum/topic/9255-batch-file-issues-set-command/</link><description><![CDATA[<p>Hello, I'm trying to install software on particular machines based on operating system and architecture. I've ran into a wall with this bit of code. For some reason it wont set the variable arch when ran remotely.</p><p>SYSTEMINFO | FIND "System Type" &gt; C:\sysType.txt</p><p>FOR /F "usebackq delims=: tokens=3" %%c IN (C:\sysType.txt) DO SET arch=%%c</p><p>ECHO %arch% | FIND "86" &gt; NUL</p><p>IF %ERRORLEVEL% == 0 (</p><p>GOTO VISTA</p><p>) ELSE (</p><p>GOTO 64</p><p>)</p><p>I also use this and it works fine:</p><p>SYSTEMINFO | FIND "OS Name" &gt; C:\osName.txt</p><p>FOR /F "usebackq delims=: tokens=2" %%c IN (C:\osName.txt) DO SET vers=%%c</p><p>vers always has a proper value. What am I doing wrong?</p>
]]></description><guid isPermaLink="false">9255</guid><pubDate>Wed, 21 Dec 2011 02:54:48 +0000</pubDate></item><item><title>c Program adding an icon</title><link>https://www.wincert.net/forum/topic/11374-c-program-adding-an-icon/</link><description><![CDATA[<p>I have recently started learning to program in c. I have written a very basic program its a currency converter. I would like to know how to put an icon into my program so when its on the desktop it looks nice.</p><p> </p><p>I am sure there are more important things for a beginner to learn but its nice to have a finished project.</p>
]]></description><guid isPermaLink="false">11374</guid><pubDate>Sat, 13 Jul 2013 08:53:57 +0000</pubDate></item><item><title>c# Hel, read setup file</title><link>https://www.wincert.net/forum/topic/11141-c-hel-read-setup-file/</link><description><![CDATA[<p>Hi<br><br>Can somebody see where i'm going wrong:<br><br></p><pre class="ipsCode prettyprint">using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace ImportantChanges{    public partial class Form1 : Form    {        public Form1() { InitializeComponent(); }        private void Form1_Load(object sender, EventArgs e)        {            try            {                string txt = System.IO.File.ReadAllText(@"./Start/PostInstall.txt");                foreach (string line in System.IO.File.ReadAllLines(txt))                {                    string[] txtLine = line.Split(':');                    if (txtLine[0].ToLower() == "prog name") label3.Text = "Installing " + txtLine[1];                    if (txtLine[0].ToLower() == "installer file")                        try { System.Diagnostics.Process.Start(txtLine[1]); }                        catch { MessageBox.Show("Error: File doesn't exist" + txtLine[1]); }                }                //            try { System.Diagnostics.Process.Start(@"./PostInstall.cmd"); }                //            catch { Console.WriteLine("Error: File doesn't exist or is damaged!"); }            }            catch { MessageBox.Show("Sorry can't install this program!"); }        }    }}</pre><br><br>I'm getting that laast message box everytime, Why?<br><br>HERE's the txt file:<br><br><pre class="ipsCode prettyprint">##############################################################################Install Order: 1Prog Name: RocketDock v1.3.5Installer File: H:\X17-59183\-=Build Stuff=-\Silent\RocketDock135_Cusom_Silent_Chris2k.exe##############################################################################</pre><br><br>thanks
]]></description><guid isPermaLink="false">11141</guid><pubDate>Sun, 17 Mar 2013 23:22:52 +0000</pubDate></item><item><title>GUIDE: WIMGAPI in VB .NET</title><link>https://www.wincert.net/forum/topic/6297-guide-wimgapi-in-vb-net/</link><description><![CDATA[<p>Here is something for those who want to work with WIMGAPI and VB .NET. Just add the module below to your project and use the examples below that to do your tasks. I will be updating it with more functions. If you know any which have not been added yet please post a working example <img src="https://www.wincert.net/forum/theme/emoticons/default_biggrin.png" alt=":D" srcset="https://www.wincert.net/forum/theme/emoticons/biggrin@2x.png 2x" width="20" height="20" loading="lazy"></p><p>WIMGAPI Module v1.0</p><p><em>The places where you see the number 1, that is the image index.</em></p><p><strong>Mount Image</strong></p><p></p><div></div><pre class="ipsCode">If CWIM_MountImage(1,"C:\Wimfile.wim","C:\MountPath") = true then<br>'DO THIS<br>else<br>'MSGBOX("There was an error mounting this image")<br>end if</pre><p></p><p><strong>UnMount Image</strong></p><p></p><div></div><pre class="ipsCode">If CWIM_UnMountImage(1,"C:\Wimfile.wim","C:\MountPath",True) = true then<br>'DO THIS<br>else<br>'MSGBOX("There was an error unmounting this image")<br>end if</pre><p></p><p><strong>Delete Image</strong></p><p></p><div></div><pre class="ipsCode">CWIM_DeleteImage("C:\WimFile.wim",1)</pre><p></p><p><strong>GetWIMInfo</strong></p><p></p><div></div><pre class="ipsCode">Dim WImInfo = CWIM_GetWimInfo("C:\Wimfile.wim")</pre><p></p><p><strong>Capture Image</strong></p><p></p><div></div><pre class="ipsCode">CWIM_CaptureImage("C:\FolderToCapture","C:\NewWim.wim",WIM_COMPRESS_LZX,"C:\Temp")</pre><p></p><p><strong>Export Image</strong></p><p></p><div></div><pre class="ipsCode">CWIM_ExportImage("C:\OriginalWim.wim","C:\ExportedWim.wim",1,"C:\Temp")</pre><p></p>
]]></description><guid isPermaLink="false">6297</guid><pubDate>Wed, 27 May 2009 12:15:22 +0000</pubDate></item><item><title>WIMGAPI WIMMountImage Progressbar</title><link>https://www.wincert.net/forum/topic/8474-wimgapi-wimmountimage-progressbar/</link><description><![CDATA[<p><span style="font-family:arial, verdana, tahoma, sans-serif;"><span style="font-size:14px;">Hello, i was wondering if any knows the c# code to mount an image and display its progress (%) in text form i.e. "Mounting 3% Complete").</span></span></p><p><span style="font-family:arial, verdana, tahoma, sans-serif;"><span style="font-size:14px;">I can mount the image fine but i can't get it to display it's progress. I will display below what code i have...</span></span></p><p><span style="font-family:arial, verdana, tahoma, sans-serif;"><span style="font-size:14px;">Thanks,much appreciated! </span></span><img src="https://www.wincert.net/forum/public/style_emoticons/default/smile.gif" alt="smile.gif" loading="lazy"></p><blockquote data-ipsquote="" class="ipsQuote"><div><p><span style="font-family:arial, verdana, tahoma, sans-serif;"><span style="font-size:14px;">WIMMountImage("C:\\Mount", "D:\\Win7SP1\\sources\\boot.wim", 1, "C:\\MountTemp");</span></span></p><p></p></div></blockquote>
]]></description><guid isPermaLink="false">8474</guid><pubDate>Wed, 30 Mar 2011 23:21:07 +0000</pubDate></item><item><title>-snip-</title><link>https://www.wincert.net/forum/topic/9925-snip/</link><description><![CDATA[<p>
	-snip-
</p>
]]></description><guid isPermaLink="false">9925</guid><pubDate>Mon, 18 Jun 2012 15:04:46 +0000</pubDate></item><item><title>What Language i should learn</title><link>https://www.wincert.net/forum/topic/6660-what-language-i-should-learn/</link><description><![CDATA[<p>well hi every one </p><p>i'm thinking in learning a language this days </p><p>but i can't think which one </p><p>i used to know some about c++ and c </p><p>so what do you think i should give a try</p><p>and what book should i buy to learn that language </p><p>i just want a language that is good and used this days </p><p>any idea would be appreciated </p><p>and thx</p>
]]></description><guid isPermaLink="false">6660</guid><pubDate>Fri, 07 Aug 2009 16:34:23 +0000</pubDate></item><item><title>Mounting and Unmounting</title><link>https://www.wincert.net/forum/topic/9133-mounting-and-unmounting/</link><description><![CDATA[<p>I have seen <strong>Legolash2go</strong> and other other people playing with <strong>mounting</strong> and <strong>unmounting</strong> windows images. I know that they also use some modules. Can anyone give me and example for that in <strong><span style="text-decoration:underline;">vb.net</span></strong> language. Also to get details about the selected images and set it's values in label1, label2 etc.. Hope you understand what i meant say.</p>
]]></description><guid isPermaLink="false">9133</guid><pubDate>Sun, 06 Nov 2011 12:43:36 +0000</pubDate></item><item><title>[Batch] Using WMIC to search for a file in all drives</title><link>https://www.wincert.net/forum/topic/7765-batch-using-wmic-to-search-for-a-file-in-all-drives/</link><description><![CDATA[<p>Does someone know how to make a script with WMIC for searching a file on all drives :questionmark:</p><p>WMIC is the only way to avoid this popup error "No Disk" that for example happens on the Floppy drive. :type:</p>
]]></description><guid isPermaLink="false">7765</guid><pubDate>Sat, 22 May 2010 12:21:14 +0000</pubDate></item><item><title>Compilr online IDE C++, C#, Ruby, Java, etc</title><link>https://www.wincert.net/forum/topic/8951-compilr-online-ide-c-c-ruby-java-etc/</link><description><![CDATA[<a href="http://compilr.com/" rel="external nofollow">http://compilr.com/</a>
]]></description><guid isPermaLink="false">8951</guid><pubDate>Tue, 13 Sep 2011 14:28:30 +0000</pubDate></item><item><title>CTRL+LEFT MOUSE CLIC in vbs ?</title><link>https://www.wincert.net/forum/topic/8485-ctrlleft-mouse-clic-in-vbs/</link><description><![CDATA[<p>hi everyone ,</p><p>i have searched a lot of about how to simulate the effect of holding down CTRL and clicking with left click mouse into files and add them with vbs or vb.net but found nothing could anyone help me please thank you .</p>
]]></description><guid isPermaLink="false">8485</guid><pubDate>Sun, 03 Apr 2011 16:57:55 +0000</pubDate></item><item><title>Possible or Not Possible</title><link>https://www.wincert.net/forum/topic/7559-possible-or-not-possible/</link><description><![CDATA[<p>Hello,</p><p>I would like to know if is possible or not to apply a REG file to all registered users during the first open or execute when creating a new user knowing that the registry key is HKCU type. I tried putting HKLM but this does not apply. Someone would have an idea?</p><p>Best regards</p>
]]></description><guid isPermaLink="false">7559</guid><pubDate>Fri, 26 Mar 2010 07:06:43 +0000</pubDate></item><item><title>CMD script not working - FOR issue?</title><link>https://www.wincert.net/forum/topic/7160-cmd-script-not-working-for-issue/</link><description><![CDATA[<p>Hi, i´m working on new <strong>Windows 7 Update Pack Tool</strong> and i wrote this:</p><p></p><div></div><pre class="ipsCode">echo Adding registry weaks to enable RunOnceEx for install Special Updates...<br><br>REG LOAD HKLM\Slipstream "%WIM%\Windows\System32\Config\Software" &gt;nul<br>SET ROE=HKLM\Slipstream\Microsoft\Windows\CurrentVersion\RunOnceEx<br><br>REG ADD %ROE% /v TITLE /d "Installing updates" /f  &gt;nul<br>REG ADD %ROE% /v Flags /t REG_DWORD /d "00000014" /f  &gt;nul<br>REG ADD %ROE% /d "%WinDir%\System32\rundll32.exe %WinDir%\System32\iernonce.dll,RunOnceExProcess" /f &gt;nul<br><br>cd SpecialUpdates<br>set /a NUM=0<br>if not exist "%WIM%\Windows\Setup\Updates" mkdir "%WIM%\Windows\Setup\Updates" &gt;nul<br>FOR %%f IN ("*.*") DO (<br>		       copy /Y "%%f" "%WIM%\Windows\Setup\Updates"<br>                       REG ADD %ROE%\00%NUM% /ve /d "%%f" /f<br>                       REG ADD %ROE%\00%NUM% /v %%f /d "%WinDir%\Setup\Updates\%%f /q" /f<br>                       set /a NUM+=1<br>                   )<br>echo %NUM%<br><br>pause<br>REG UNLOAD HKLM\Slipstream<br>cd..</pre><p></p><p>Writing into registry works, but under <strong>HKLM\Slipstream\Microsoft\Windows\CurrentVersion\RunOnceEx</strong> is only one key <strong>000</strong> i´m used set /a NUM=0 and set /a NUM+=1 in FOR, but i don´t know why REG ADD %ROE%\00<strong>%NUM%</strong> /ve /d "%%f" /f not working if i make echo <strong>%NUM%</strong> it give me 3 (in folder are 3 Updates). Don´t know why script write only <strong>000</strong> key. I think it must write key <strong>000, 001, 002</strong></p><p><img src="http://i50.tinypic.com/4gqe12.png" alt="4gqe12.png" loading="lazy"></p>
]]></description><guid isPermaLink="false">7160</guid><pubDate>Sat, 21 Nov 2009 21:19:18 +0000</pubDate></item><item><title>Add my icon into program in C/C++</title><link>https://www.wincert.net/forum/topic/7403-add-my-icon-into-program-in-cc/</link><description><![CDATA[<p>Hi, im beginer in C/C++ and i need to add icon into my project, i tryed google, but i cant uderstand how i can do it. Can some write it here <strong>step-by-step</strong> please?</p>
]]></description><guid isPermaLink="false">7403</guid><pubDate>Sun, 24 Jan 2010 10:31:03 +0000</pubDate></item><item><title>Hide Desktop Icons/Change Wallpaper When Firefox In focus?</title><link>https://www.wincert.net/forum/topic/7396-hide-desktop-iconschange-wallpaper-when-firefox-in-focus/</link><description><![CDATA[<p>I have modded Firefox to run completely Aero Glass, but the desktop wallpaper and icons can make some areas of some sites look awful or unviewable.</p><p>What I want to do is hide the desktop icons and change the wallpaper to all black while firefox has focus, and reverse the change when it loses focus OR terminates.</p><p>I have a program that when run Hides the icons, and when run again shows them. I also have a Wallpaper changer that can change to any file.</p><p>This is what I have so far (I know nothing of VBS)</p><p>HideDesktopFF.vbs (Runs a batch file hidden)</p><p></p><div></div><pre class="ipsCode">Dim a <br>Set a = CreateObject("Wscript.Shell")<br>a.Run "HideDesktopFF.bat",0 </pre><p></p><p>This batch file hides the icons and changes the wallpaper, and checks every minute if FF process is running. If it closes it shows icons and fixes wallpaper. This only does it if FF closes. I want it to also change between hidden and shown (with WP switch) every time FF gets/loses focus.</p><p>HideDesktopFF.bat (Incomplete)</p><p></p><div></div><pre class="ipsCode">goto hide<br>:hide<br>WALLPAPERCHANGER "%USERPROFILE%\Pictures\Black.jpg"<br>HIDEDESKTOPICONS.exe<br>goto checkIfRunning<br><br>:checkIfRunning<br>tasklist /FI "IMAGENAME eq firefox.exe" 2&gt;NUL | find /I /N "firefox.exe"&gt;NUL<br>if "%ERRORLEVEL%"=="1" goto showEnd<br>sleep.exe 60<br>goto checkIfRunning<br><br>REM Not used, should be used to switch when focus lost, then check for focus or end of process.<br>:show <br>HIDEDESKTOPICONS.exe<br>WALLPAPERCHANGER "%USERPROFILE%\Pictures\Dark Energy.jpg"<br><br>:showEnd<br>HIDEDESKTOPICONS.exe<br>WALLPAPERCHANGER "%USERPROFILE%\Pictures\Dark Energy.jpg"<br>exit</pre><p></p><p>I know this is a sloppy and CPU wasting way to do this, does anyone have any way to make this work efficiently? I am also adjusting my wallpaper to be less bright to reduce the glare, so this may become unnecessary if I get things looking different.</p>
]]></description><guid isPermaLink="false">7396</guid><pubDate>Fri, 22 Jan 2010 05:07:31 +0000</pubDate></item><item><title>How to make uxtheme patch</title><link>https://www.wincert.net/forum/topic/7327-how-to-make-uxtheme-patch/</link><description><![CDATA[<p>Hello,</p><p>         I want to create a uxtheme patcher. I want to know how to enable a uxtheme.dll file to accept 3rd party themes. I know there is some 3rd party apps to patch uxtheme. But here i want to create a patch. Help! I'm a VIP member of experts exchange. One member redirected to this site that you guys know the solution for my query....</p>
]]></description><guid isPermaLink="false">7327</guid><pubDate>Wed, 30 Dec 2009 10:45:05 +0000</pubDate></item><item><title>(SOLVED) Need Help Creating A Batch File</title><link>https://www.wincert.net/forum/topic/5005-solved-need-help-creating-a-batch-file/</link><description><![CDATA[<p>Hi Im Tryin To Create A Batch File For A Program and i need help!</p><p>set w=s</p><p>C:\WinXP\XPCDTOOLS\miso.exe NULL -mnt 1 "C:\WinXP\WinXP9-in-1.iso" </p><p>pause</p><p>COPY C:\VRMPVO~1.ISO "C:\WinXP" /Y /V </p><p>DEL "C:\VRMPVOL_EN.ISO" </p><p>C:\WinXP\XPCDTOOLS\miso.exe NULL -mnt 1 "C:\WinXP\VRMPVO~1.ISO" </p><p>for /d %x in ( A B C D E F G H I J K L M N O P Q R S T U V W X Y Z ) do if exist %x:\WIN51IP.SP2 set w=%x </p><p>XCOPY %w%:\ "C:\WinXP\XPCD" /Y /H /E</p><p>but when i click on the install.bat the command prompt window pops up but close's</p><p>what am i doin wrong?</p>
]]></description><guid isPermaLink="false">5005</guid><pubDate>Tue, 02 Dec 2008 06:20:10 +0000</pubDate></item><item><title>BIOS Information via VB Script</title><link>https://www.wincert.net/forum/topic/43-bios-information-via-vb-script/</link><description><![CDATA[<div></div><pre class="ipsCode">Set SNSet = GetObject("winmgmts:").InstancesOf ("Win32_BIOS")<br><br>for each SN in SNSet<br> Wscript.Echo "BIOS Manufacturer of this computer is: " &amp; SN.Manufacturer<br> Wscript.Echo "BIOS Version of this computer is: " &amp; SN.Version<br> Wscript.Echo "BIOS Version date of this computer is: " &amp; SN.ReleaseDate<br> Wscript.Echo "SMBIOS Version of this computer is: " &amp; SN.SMBIOSBIOSVersion<br>Next</pre><p></p>
]]></description><guid isPermaLink="false">43</guid><pubDate>Sun, 06 Aug 2006 11:16:38 +0000</pubDate></item></channel></rss>
