Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Thursday, August 31, 2023

Add Command Prompt to the Context menu Windows 10, 11

Add Command Prompt to the Context menu


 

If you’re fond of the old Command Prompt (cmd.exe), you can add the traditional “Open Command window here” option back in the context menu for file system folders and drives, using a Registry edit.

Method 1

This method creates a new menu item named “Open command window here” by adding the necessary context menu registry entries.

  1. Open Notepad.
  2. Copy the following lines and paste them in Notepad:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt]
    @="@shell32.dll,-8506"
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command]
    @="cmd.exe /s /k pushd \"%V\""
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt]
    @="@shell32.dll,-8506"
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command]
    @="cmd.exe /s /k pushd \"%V\""
    
    [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt]
    @="@shell32.dll,-8506"
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command]
    @="cmd.exe /s /k pushd \"%V\""
    
  3. Save the file as “cmdhere.reg
  4. Double-click the file to apply the settings to the registry.

Alternately, you can download the following registry file:

 

Saturday, October 6, 2018

How to disable web search results on Windows 10

Taken from https://pureinfotech.com/disable-web-search-windows-10-version-1803/ as my notes

How to disable web search results on Windows 10
If you want to disable web search result when using search box in the taskbar, do the following:
Warning: It’s very important to note that modifying the Windows Registry can cause serious problems if not used properly. It’s assumed you know what you’re doing and that you have created a full backup of your system before proceeding.
  1. Open Start.
  2. Search for regedit, right-click the top result, and select Run as administrator.
  3. Browse the following path:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search
  4. Double-click the CortanaConsent key.
  5. Set the key value from 1 to 0.
    CortanaConsent regedit
    CortanaConsent regedit
  6. Click the OK button.
  7. On the left pane, right-click the Search (folder) key, and select New, and click on DWORD (32-bit) Value.
    Search regedit
    Search regedit
  8. Name the new key AllowSearchToUseLocation, press Enter, and leave its default value of 0.
    AllowSearchToUseLocation regedit
    AllowSearchToUseLocation regedit
  9. On the left pane, right-click the Search (folder) key, select New, and click on DWORD (32-bit) Value.
  10. Name the new key BingSearchEnabled, press Enter, and leave its default value of 0.
    BingSearchEnabledand regedit
    BingSearchEnabledand regedit
  11. Browse the following path:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
  12. Right-click the Windows (folder) key, select New, and click on Key.
    Windows Search key regedit
    Windows Search key regedit
  13. Name the key Windows Search and press Enter.
  14. On the left pane, right-click the Windows Search (folder) key, and select New, and click on DWORD (32-bit) Value.
  15. Name the new key ConnectedSearchUseWebOverMeteredConnections, press Enter, and leave its default value of 0.
  16. On the left pane, right-click the Windows Search (folder) key, and select New, and click on DWORD (32-bit) Value.
  17. Name the new key AllowCortana, press Enter, and leave its default value of 0.
  18. On the left pane, right-click the Windows Search (folder) key, and select New, and click on DWORD (32-bit) Value.
  19. Name the new key DisableWebSearch and press Enter.
  20. Double-click the newly created key and change its value from 0 to 1.
    DisableWebSearch regedit
    DisableWebSearch regedit
  21. On the left pane, right-click the Windows Search (folder) key, and select New, and click on DWORD (32-bit) Value.
  22. Name the new key ConnectedSearchUseWeb, press Enter, and leave its default value of 0.
After completing the steps, restart your computer to complete disabling web search on Windows 10. However, remember that using these instructions also completely disables Cortana, as the assistant relies on the web.
At any time, you can revert the changes to enable web search and Cortana using the same steps, but on step No. 5, make sure to change the key value to 0. On step No. 8, right-click the AllowSearchToUseLocation key and select Delete. On step No. 10, right-click the BingSearchEnabledand key and select Delete. On step No. 11, right-click the Windows Search key and select Delete to delete all the remaining keys. Finally, restart your device to apply the changes.

Check windows 10 version



  1.  Go to Start , type about, and then select About your PC. 
  2. Look under PC for Edition to find out which version and edition of Windows that your PC is running.
  3. Look under PC for Version to find out which version of Windows 10 your PC is running.
  4. Look under PC for System type to see if you're running a 32-bit or 64-bit version of Windows. 

Friday, July 31, 2015

Blogspot ( Blogger URL parser ) Tools



Example : http://test.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=3

just insert url and parsing url....
 After scraping url you can parsing the data using HTML SCRAPER

 Download below:
 http://www.mediafire.com/download/pz9i1ae9980u5b9/Blogger_urlParser.zip


NET framework 4

Wednesday, December 3, 2014

Hilangin bootloader linux ( ubuntu ) dengan Windows Setup CD or Live USB



Note: gw gunain live usb windows7

Dengan Windows Vista, Windows Server 2008, Windows 7, Windows 8 / live usb :

  1. Boot ke Live usb atau CD lalu:
  2. Cari kata kata "Repair your computer" dan klik.
  3. Cari "Command Prompt" lalu klik
  4. Ketik kata di bawah ini lalu enter.
  5. bootsect /nt60 SYS /mbr
     

 Dengan Windows 2000, Windows XP atau Windows Server 2003 CD :



  1. Boot ke cd lalu masuk ke "Recovery Console" dengan cara pencet "R" 
  2. ketik kata kata ini:
    fixmbr
     
  3. Tekan "Y" lalu ketik "exit"

Dengan  Windows 98 CD:

  1. Boot ke command prompt lalu ketik
    fdisk /MBR

Friday, November 14, 2014

Compiling lazarus 1.3 ( trunk ) and FPC 2.7.1 ( trunk ) , Error and NOTE


Compiling and commit svn


Installing embarcardero x4 and tried to compiled lazarus 1.3 ( trunk ) and FPC 2.7.1. Its weird error, cannot compile bla bla bla....

Tried to executing this command 
make clean bigide 
and got error
Error makefile 14

After 8 hours pain and struggling with this bitch. Searching through google and found some of this:

http://www.cheatengine.org/forum/viewtopic.php?t=573992&postdays=0&postorder=asc&start=0&sid=1beeedd8204588714081d531bac2d919
http://forum.lazarus.freepascal.org/index.php?topic=18727.0
http://forum.lazarus.freepascal.org/index.php?topic=25526.0

http://forum.lazarus.freepascal.org/index.php?topic=16839.0
http://forum.lazarus.freepascal.org/index.php/topic,16898.msg92757.html#msg92757

http://wiki.freepascal.org/Installing_Lazarus

update and deleting svn, multiple times


http://mistikhati.wordpress.com/2014/03/06/compile-fpc-dan-lazarus-di-windows-xp-bag-3/
http://mistikhati.wordpress.com/2014/03/06/compile-fpc-dan-lazarus-di-windows-xp-bag-2/
http://mistikhati.wordpress.com/2014/03/06/compile-fpc-dan-lazarus-di-windows-xp-bag-1/


And yeah nothing worked -_- and then......
Finally, I found something that really the problem. Embarcardero x4 adding path to system environtment and the problem is: x4 have own make.exe . So make.exe from fpc conflict with make.exe from X4.

So I uninstalling embarcardero x4, add my path fpc to environtment and its work flawlessly.  I keep my mind to check first the make.exe using Print full path of an executable command in Windows first before doing same mistake.

 Proudly using Lazarus 1.3 r FPC 2.7.1 i386-win32-win32/win64
Proudly using Lazarus 1.3 r FPC 2.7.1 i386-win32-win32/win64

And now I can building my own FMD :D

fmd-0.8.5.22 unofficil build
 
#nb for myselft for updating svn
fpc_src
make clean all install INSTALL_PREFIX=C:\opt\fpc-2.7.1 PP=C:\opt\ppc386.exe DATA2INC=C:\opt\fpc-2.7.1\fpcsrc\utils\data2inc.exe
lazarus
make clean bigide

Print full path of an executable command in Windows



If you using windows 7, do this :
where foo

where foo | clip
if older than win 7 do this
http://www.codeproject.com/Articles/3784/Whereis-for-Windows
in case you dont have account in codeproject, here external link from article above
(EXE)
http://www.mediafire.com/download/rlauxn3b4rto8my/whereis_bin.zip
(SOURCE C# .NET)
http://www.mediafire.com/download/zjjtwuj4u2e9aa5/whereis_src.zip

taken from:
http://superuser.com/questions/248334/how-can-i-print-full-path-of-an-executable-command-in-windows

Friday, October 31, 2014

How to move all file in sub-folder to parrent folder ( CMD )



for /d %A in ("C:\Users\mynamer\folder\*") do @(pushd "%A"&(for /r /d %B in (*) do @move /y "%B\*" "%A" 2>nul)&popd)


Saturday, August 2, 2014

Really completed webbrowser_documentcompleted



Code explain better


string body = "";
private void thebrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {
            if (thebrowser.ReadyState != WebBrowserReadyState.Complete)
                return;
            if (e.Url.AbsolutePath != (sender as WebBrowser).Url.AbsolutePath)
                return;
            if (body == thebrowser.Document.Body.InnerHtml) return;
            body = thebrowser.Document.Body.InnerHtml;

           
        }

Monday, June 30, 2014

Asin Grabber Extreme Edition ( AMAZON ASIN GRABBER ) C# .NET version

Scraping time

FB GROUP

https://www.facebook.com/groups/526739581526885/  

Mengikuti postingan yang terdahulu Asin Grabber kesana jika kalian nggak tahu cara gunainnya ... :)



Sekarang proses lebih cepat, download juga lebih cepat ( banyak yang blum di optimasikan tapi ini fork codenya artinya langkah awal untuk yang lebih baik )

Nah jika kalian nanya apa sih bedanya, asin grabber v3.1 yang biasa dengan EE ( extreme edition ) jawabannya gampang, yang biasa mengunakan LOOPING yang traditional, sedangkan methode EE mengunakan parallel programming.
Bahasa simplenya, yang biasa scrapping url satu satu. Sedangkan yang EE scrapping bisa 3 atau 4 dalam waktu yang bersamaanya.. :D


Download

v2.1(update)
http://www.mediafire.com/download/ndb4dygkz1mjca5/AsinGraber_EEv2.1.zip

bug fixes & improves :
  1. Error jika tidak ada asin
  2. Tidak mengunakan browser lagi, agar tidak terjadi crash saat scrapping dalam jumlah banyak
  3. jump link jika error

v2.2(update)


http://www.mediafire.com/download/u3x838wqe8qa2ab/AGE.Ev2.2.zip


bug fixes & improves :
  1. Perbaikan UI 
  2. Scrapping jadi tiap folder dengan datetime dan nama negara contoh amazon.fr
  3. Back to UN threaded mode. Still hard dealing with storing text file at same times. :)
v2.3(update)
http://www.mediafire.com/download/imuub057bjk1k00/AGE.Ev2.3.zip

bug fixes & improves
 - Minor  update
 : 
v2.4(update)
http://www.mediafire.com/download/m4gurut3qpqiv79/AGE.Ev2.4.zip


v2.5
http://www.mediafire.com/download/0grr6z8t79ei08i/AGE.Ev2.5.zip


+ adding title category for file text name.

v2.5.1

http://www.mediafire.com/file/9b1tkz2t14cph31/AGE.E_title_v2.5.1.rar
+ title beside asin


v2.5.2 

 + fixing
http://www.mediafire.com/file/278wrj3omokr8f7/AGE.E_v2.5.2.rar

v2.5.3
+ title
http://www.mediafire.com/file/nny0bsq4irsbc5o/AsinGrabber_Title_v2.5.3.rar

v2.5.4
+ fixing
+ useragent
http://www.mediafire.com/file/4u779kq0llksy52/AsinGrabber_Title_v2.5.4.rar

v2.5.5
+ delay
http://www.mediafire.com/file/n1j6livg47nvz07/AsinGrabber_Title_v2.5.5.rar

v2.5.6
+ fixing delay
http://www.mediafire.com/file/tvs6i4c96u9rfxo/AsinGrabber_Title_v2.5.6.rar


v3.0.1

+ fixing gak bisa scraping

Thanks for Irwan Kediri, for giving this project a donation

Version without TITLE only ASIN
https://www.mediafire.com/file/0lhakhv7qnnqno6/AGE.E_v3.0.1.zip/file
VERSION with TITLE
https://www.mediafire.com/file/c9muq1u8rnb38qb/AGE.E_title_v3.0.1.zip/file

v3.0.2

https://www.mediafire.com/file/y0h2hlb7ooxaswy/AGE.E+title+v3.0.2.zip/file 

+ fixing gak bisa scraping


v3.0.3

 https://www.mediafire.com/file/yfznjzwp4iksong/AGE.E+title+v3.0.3.7z/file

or

https://send.cm/g3kdax6gswuf 

or 

https://send.cm/s5e9cj91ecpn

 password = tulisanlain

+ fixing gak bisa scraping



Video HOW TO




You need  net 4.0 

Saturday, June 28, 2014

Code handle dari BackgroundWorker.Complete




Code handle dari BackgroundWorker.Complete
private void wrok_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            if (e.Cancelled)
            {
                MessageBox.Show("Nggak bisa login gan, mungkin koneksi error");
            }
            else if (e.Error != null)
            {
                MessageBox.Show(e.Error.Message);
            }
            else
            {
                MessageBox.Show(e.Result.ToString());
            }
           
        }

Auto Close messagebox.show with certaint amount time

Try the following approach:
AutoClosingMessageBox.Show("Text", "Caption", 1000);

Where the AutoClosingMessageBox class implemented as following:
public class AutoClosingMessageBox {
    System.Threading.Timer _timeoutTimer;
    string _caption;
    AutoClosingMessageBox(string text, string caption, int timeout) {
        _caption = caption;
        _timeoutTimer = new System.Threading.Timer(OnTimerElapsed,
            null, timeout, System.Threading.Timeout.Infinite);
        MessageBox.Show(text, caption);
    }
    public static void Show(string text, string caption, int timeout) {
        new AutoClosingMessageBox(text, caption, timeout);
    }
    void OnTimerElapsed(object state) {
        IntPtr mbWnd = FindWindow(null, _caption);
        if(mbWnd != IntPtr.Zero)
            SendMessage(mbWnd, WM_CLOSE, IntPtr.Zero, IntPtr.Zero);
        _timeoutTimer.Dispose();
    }
    const int WM_CLOSE = 0x0010;
    [System.Runtime.InteropServices.DllImport("user32.dll", SetLastError = true)]
    static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
    [System.Runtime.InteropServices.DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)]
    static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam);
}
taken from here as my personal note :D http://stackoverflow.com/a/14522952

Friday, November 8, 2013

Cerita Database, Save all your .txt story file in mdb :)


Usage: Load mdb to application and you done

download here:
http://www.mediafire.com/?tb9os88934dkztp

created with delphi 2007 :)

Thursday, October 24, 2013

Local Area Network : How to fix slow LAN transfer speed of files in Windows 7 ( working to windows 8 )

Recently I had to solve a problem of a very slow transfer of files between two computers on a LAN network using Ethernet cable. Both machines had Windows 7 x64 installed and the transfer speed was ridiculously slow at 10-15kb/s. Using Task Manager under Networking tab, Network Utilization was showing only around 0.25% for Local Area Connection.
I looked around the web for solutions and found quite a few suggestions how to tackle this problem. Those that I tried and the one that finally solved my problem are discussed here.



Turning off “Remote Differential Compression”

One of the first suggestions that I came across was to turn off this Windows Feature in Windows 7.
This suggestion is common on the web but it turns out to be just a myth.
From TechNet:
This is 100% false. Neither Windows Update or file copy operations use RDC at all. 
So I ignored this suggestion and continued looking.


Disabling “TCP Auto-Tuning”

This is another common suggestion that I came across and it uses NETSH command-line utility used for displaying and modifying the network configuration. To make the necessary changes, we need to run that utility as an Administrator.
  1. Open Command Prompt as Administrator:
    • Click on Start Menu
    • Type Command in search box
    • Command Prompt will show up in results. Right-click on it to open Context Menu
    • Select Run as administrator
    • If User Account Control Window shows up asking if you want to allow the following program to make changes, select Yes
  2. Type: netsh interface tcp set global autotuning=disabled
  3. Restart the computer
  4. To verify that the auto-tuning is still disabled type in Command Prompt:
    netsh interface tcp show global
This suggestion still didn’t solve my problem, so I looked further but before doing that I wanted to set Auto-tuning back to the default value by typing this in the Command Prompt (running as an Administrator):
netsh interface tcp set global autotuning=normal

Disabling “Large Send Offload (LSO)”

Large Send Offload is a technique of improving network performance while at the same time reducing CPU overhead. Apparently it does not work very well, so it was suggested to disable it. If you would like to know about LSO, check this MSDN article from 2001.
LSO is an option located in a Device Manager under your network adapter, so this solution requires Administrator Privileges.
Follow these steps:
  1. Open Start Menu, right-click on Computer and select Properties
  2. Under Control Panel Home located on the left side of the window click on Device Manager
  3. You will get a list of all devices on your machine. Expand Network Adapters.
  4. Find your Network Card and double-click on it.
  5. Select Advanced tab. You will get a list filled with different options.
  6. Select Large Send Offload V2 (IPv4) and set the value to Disabled
  7. Do the same for Large Send Offload V2 (IPv6) if it is available
  8. Click OK
After clicking OK, I tried to send a file over the LAN network. The transfer speed started very slow, but it was gradually picking up speed. I decided to restart the computer and try to send that file again and this time it worked like a charm.
Now that sending of files worked as it should, I also checked speed for receiving files. It turned out that it was still slow but all I had to do to fix that was to disable Large Send Offload V2 on the other computer. Once done,  the problem was solved for receiving files as well.

Conclusion

In this post we examined different ways to solve slow speed on a LAN network. One of them is just a common myth, but for other two you need to have administrator privileges. I hope you found this article useful. Consider sharing it on a social networks. Comments are also welcome.
If you solved your slow LAN speed problem in a different way, let me know how and I might add that solution to the list.

Taken from:
http://www.howtosolutions.net/2013/06/fixing-slow-sending-or-receiving-of-files-through-lan-network-using-windows/


Wednesday, October 23, 2013

Blogger Atom Parser

Salah satu proyek iseng saya lagi... :D , blogger atom parser . udah tahu khan soal cloning blog di sini.
http://www.ads-id.com/forums/showthread.php/114142-FREE-Cloning-Amazon-Blogger?s=7a7127571a2007d40cf13a22a13fbde8


Sebenarnya tools ini saya buat untuk mempermudah membaca, secara offline blogspot atau apalah jadinya.. Intinya hanya untuk iseng saja...

Pengunaannya:
 Load file xml yang sudah di download tadi, lalu nikmati membaca offlinenya... Simple :D

 for english user: Sorry, to lazy writing description in english. 

screenshotnya:




download link: ( EXE )
http://www.mediafire.com/?9aat7vwxwhqecvx
and you can download SOURCE file here:
http://www.mediafire.com/?yefuq9revul8pvo
required: .net 3.5

Thursday, April 4, 2013

Asin Graber

Asin Graber build with C# visual studio 2008 with .net35 (DISCONTINUED) please go to Asin Grabber Extreme Edition


- Max page from amazon is 400 page... keep that in your mind...
- You can entered multiple link 
- Created txt with ASIN for each link
- Can get all page with different page value each link.

Example url is:
http://www.amazon.com/s/ref=nb_sb_noss/180-0086796-3128856?url=search-alias%3Dbeauty&field-keywords= 

What this mean:
This is value about amazon page, check image below if you dont understand

if you with multiple link, that will caused problem. Cause if each value page sometimes have different value
example link 1:
http://www.amazon.com/gp/search/ref=sr_nr_n_4?rh=n%3A172282%2Cp_36%3A1253507011%2Cp_72%3A1248879011%2Cn%3A
 and with
example link 2:
http://www.amazon.com/s/ref=sr_nr_n_0?rh=n%3A172282%2Cp_36%3A1253507011%2Cp_72%3A1248879011%2Cn%3A!493964%2Cn%3A281407&bbn=493964&ie=UTF8&qid=1365483671&rnid=493964

Those link above does'nt have same value, that would trouble. To solve regardless this issue, insert hypen character ( - ) in that box and case close.


Download here
http://www.mediafire.com/?h0c6tnc83yl7p6i
pass:hhhhh1234kkk

Updated v.2
http://www.mediafire.com/?qcfe4zqddpbgr6y
pass:hhhhh1234kkk

Updated v.3
http://www.mediafire.com/?g7umu2tx7chrsk5
pass:hhhhh1234kkk

Update v3.1
http://www.mediafire.com/download/4uybvbujvukd880/AsinGraberv3.1.7z

bug fixes & improves :
  1. Error jika tidak ada asin
  2. Tidak mengunakan browser lagi, agar tidak terjadi crash saat scrapping dalam jumlah banyak