Saturday, 31 October 2015

DEVELOPER'S LIFE


DEVELOPER'S LIFE


Today I viewed few videos in Youtube which actually perfectly related to the Life of Developer/Programmer/Coder. I cant resist myself from sharing these Videos with the Community.

Special Thanks to Martin Valasek

Part 1-




Part 2-




Part 3-




Thanks for Watching Guys. Hope You might have enjoyed the same. 

Thursday, 29 October 2015

Happy Birthday DOTNETVISHAL - 3 Years [DOB:14/10/2012]


Happy Birthday DOTNETVISHAL




Happy Birthday DOTNETVISHAL. Yes Guys, Its Party Time... DOTNETVISHAL.COM is 3 years old now.. It was started as a small blog with a modest traffic of few hundred people in its first month which gradually turned into a massive Technical Community of Millions of People.




With Half Million Page-views from more than 175 Countries, Around 1000 Facebook Likes, 175 Google Plus Followers, Hundreds of Article Comments, Countless Emails .  I don't think this Blog needs any further introduction. Only 1 Word, Hard Work Pays.. If You have sheer dedication towards anything, I bet no one can stop you from achieving that goal.

So I invite you all to join me in this celebration and thank you all to be a part of this Community. I assure you that I wont let you down and try to contribute the best of me.

Thank You Thank You All.... God Bless...



Tuesday, 21 July 2015

Bahubali Movie in Terms of Indian Software Industry


Bahubali Movie in Terms of Indian Software Industry


Recently I watched Bahubali Movie, After Watching the Movie I was wondering, if this Movie was based on Indian Software Industry what would be the Roles of the different Characters.. So here In this Article, I have tried to depict the Characters as they would be in an Indian IT Company..

Mahishmati



It is the Company where Bahubali and others used to work.


1>   Amarendra Bahubali



Amarendra Bahubali would be a genius programmer who struggled a lot to become famous in the Industry. He is the guy who always get good ratings in appraisals due to his immense talent.

2> Bhallala Deva


Bhallala Deva would be an average programmer with decent skills but doesnt want to work. He tries to use office politics to rise to the ranks. He is always jealous of Bahubali and always tries to compete with him by Copy-Paste from Codeproject/Stackoverflow.

3>Bijjaladeva




Bijjaladeva will be the Project Manager/Team Lead. He is sheer incompetent for the industry. Like Bhallala Deva, he also survives by supporting Office Politics. He envies Bahubali due to his talent and tries to use politics to give better rating to Bhallala Deva.

4> Sivagami 


Sivagami would be the Senior Project Manager/Program Manager. She is really fond of Bahubali due to his hard work and efficiency. She always checks the performance of the developer by giving random task and by judging the approach of the developers to achieve that task.She always checks out upon Bahubali from the time of his Appointment. She allots good rating to the developers based upon the feedback of the Office Colleagues(People of Mahishmati).

5> Kalkeya



Kalkeya is the onsite Client who speaks on his own business Language, He wont understand the Languages of Mahasmati like C#,JQuery,SQL etc. He is always in war with the offshore team of Mahasmati. He always wants to have relationship with Sivagami but she doesnt like him.

6>Katappa


Katappa is an onsite Developer and is very skillfull and technically strong. He is very loyal to the Program Manager/ Reporting Manager and always follows their orders. He dont try to switch companies even if he is offered a  higher package. The Office Colleagues wants him to help them prepare for the Interviews but hesitate to approach him as he is loyal to the Manager. He was offered higher packages from other companies as well but he rejected those offer. He back-stabbed Bahubali for getting onsite opportunties.

7> Aslam Khan


Aslam Khan is the HR of  the other company who failed to recruit Katappa even after quoting High Package, Sign-in Bonus and even offering Buy-out Option to him. Finally when he was not able to recruit him, he offered him his friendship so that he can lure other developers to join his company using Katappa.

8> Shivu


Shivu is a fresher developer who is unaware of the how-abouts of  the Software Industry. He is technically very strong but doesnt know where to show his talent. He got the potential to become an expert developer like Bahubali(Thanks to Google/Codeproject/StackOverflow). He is always active to take new Challenges and is very enthusiastic to get onboard into a Project. He later fall in love with the Young HR who recruited him to Mahismati.

9>  Tribals


Tribals were the developers who provided initial training to Shivu. When Shiv asked them for some real project, they forbid him to join by telling nonsense excuses.

10> Avantika


Avantika is the beautiful Young HR who recruited Shivu to the Company. 

11> Devasena


Devasena is a Senior Programmer who has been held by Bhallaldeva.He doesnt want her to leave the company and withheld her by not providing Experience Letter. She mentored Shivu as a developer. 

Monday, 1 June 2015

Detecting Page Refresh in ASP.Net


Detecting Page Refresh in ASP.Net

There are certain Scenario when we want to detect whether the page was refreshed or not. Or, Whether It was a Postback or a F5 Refresh.. The following Code Snippet will help you out to resolve this Issue..

Design Part:



 <asp:Label ID="Label1" runat="server"></asp:Label>
 
    <asp:Button ID="Button1" runat="server" Text="Do postback at server side"
        onclick="Button1_Click" />


Coding:


private bool IsPageRefresh = false;
        public bool IsPageRefresh1
        {
            get { return IsPageRefresh; }
            set { IsPageRefresh = value; }
        }
 
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                ViewState["postids"] = System.Guid.NewGuid().ToString();
                Session["postid"] = ViewState["postids"].ToString();
            }
            else
            {
                if (ViewState["postids"].ToString() != Session["postid"].ToString())
                {
                    IsPageRefresh = true;
                }
                else
                {
                    IsPageRefresh = false;
                }
                Session["postid"] = System.Guid.NewGuid().ToString();
                ViewState["postids"] = Session["postid"].ToString();
            }
        }
 
        protected void Button1_Click(object sender, EventArgs e)
        {
            if (!IsPageRefresh1)
            {
                Label1.Text = "Page do normal postback";
            }
            else
            {
                Label1.Text = "Page refresh";
            }
        }

Now Check the Output by pressing F5 Key and by clicking the Button..

Fetch Machine Information C#.Net


Fetch Machine Information C#.Net

The following Code Snippet will help you to fetch the Machine/System Info like Processor Details, Machine Name, IP Address..

Create a Class File Named MachineInfo.cs:


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management;
using System.Net;
using System.Diagnostics;
 
namespace GenericErrorHandling
{
    class MachineInfo
    {
        ManagementObjectSearcher query;
        ManagementObjectCollection result;
        string responseString;
        int responseInt;
 
        public string GetMachineName()
        {
            return Environment.MachineName.ToUpper();
        }
        public string GetOSVersion()
        {
            return Environment.OSVersion.VersionString;
        }
        public string GetProcessorCount()
        {
            return Environment.ProcessorCount.ToString();
        }
        public string GetIPAddress()
        {
            IPHostEntry ipEntry = Dns.GetHostEntry(Dns.GetHostName());
            IPAddress[] ipAddress = ipEntry.AddressList;
            return ipAddress[ipAddress.Length - 1].ToString();
        }
        public string GetTotalPhysicalMemory()
        {
            query = new ManagementObjectSearcher("SELECT * FROM Win32_LogicalMemoryConfiguration");
            result = query.Get();
            foreach (ManagementObject managementObject in result)
            {
                responseInt = Convert.ToInt32(managementObject["TotalPhysicalMemory"].ToString());
            }
            responseInt = (responseInt / 1024);
            responseString = responseInt.ToString() + " MB";
            return responseString;
        }
        public string GetAvailablePhysicalMemory()
        {
            PerformanceCounter counter = new PerformanceCounter("Memory", "Available Bytes");
            responseInt = ((int)Convert.ToInt64(counter.NextValue()) * (-1)) / (1024 * 1024);
            responseString = responseInt.ToString() + " MB";
            return responseString;
        }
 
        public string GetTotalVirtualMemory()
        {
            query = new ManagementObjectSearcher("SELECT * FROM Win32_LogicalMemoryConfiguration");
            result = query.Get();
            foreach (ManagementObject managementObject in result)
            {
                responseInt = Convert.ToInt32(managementObject["TotalVirtualMemory"].ToString());
            }
            responseInt = (responseInt / 1024);
            responseString = responseInt.ToString() + " MB";
            return responseString;
        }
 
        public string GetAvailableVirtualMemory()
        {
            query = new ManagementObjectSearcher("SELECT * FROM Win32_LogicalMemoryConfiguration");
            result = query.Get();
 
            foreach (ManagementObject managementObject in result)
            {
                responseInt = Convert.ToInt32(managementObject["AvailableVirtualMemory"].ToString());
            }
            responseInt = (responseInt / 1024);
            responseString = responseInt.ToString() + " MB";
            return responseString;
 
        }
        public string GetCpuFrequency()
        {
            query = new ManagementObjectSearcher("SELECT * FROM Win32_Processor");
            result = query.Get();
            foreach (ManagementObject managementObject in result)
            {
                responseInt = Convert.ToInt32(managementObject["CurrentClockSpeed"].ToString());
            }
            responseString = responseInt.ToString() + " MHz";
            return responseString;
        }
    }
 
}


Then Use the following Code Snippet to get the detailed info of the target Machine:


private void button1_Click(object sender, EventArgs e)
        {
            MachineInfo M = new MachineInfo();
            string msg = "Number Of Processor : " + M.GetProcessorCount();
            msg += "\nProcessor MHZ : " + M.GetCpuFrequency();
            msg += "\nMachine Name : " + M.GetMachineName();
            msg += "\nGetOSVersion : " + M.GetOSVersion();
            msg += "\nGetIPAddress : " + M.GetIPAddress();
            msg += "\nGetTotalPhysicalMemory : " + M.GetTotalPhysicalMemory();
            msg += "\nGetAvailablePhysicalMemory : " + M.GetAvailablePhysicalMemory();
            msg += "\nGetTotalVirtualMemory : " + M.GetTotalVirtualMemory();
            msg += "\nGetAvailableVirtualMemory : " + M.GetAvailableVirtualMemory();
 
            MessageBox.Show(msg);
 
        }

Implementing Ping in ASP.Net


Implementing Ping in ASP.Net


In this Article We will see, how can we ping a host name/ address to check whether it is up or not..
Pinging can be of great help to detect the current status of a website or to check the availability of the Server...

First of All add the following Namespaces:


using System.Net;
using System.Net.NetworkInformation;
using System.Text;

Then Create the  Design Page using the Code below:


<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table width="600" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#cccccc">
                <tr>
                    <td width="100" align="right" bgcolor="#eeeeee" class="header1">
                        Hostname/IP:
                    </td>
                    <td align="center" bgcolor="#FFFFFF">
                        <asp:TextBox ID="txtHost" runat="server"></asp:TextBox>
                        &nbsp;&nbsp;
                        <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Submit" />
                    </td>
                </tr>
                <tr>
                    <td width="100" align="right" bgcolor="#eeeeee" class="header1">
                        Ping Results:
                    </td>
                    <td align="center" bgcolor="#FFFFFF">
                        <asp:TextBox ID="txtPing" runat="server" Height="400px" TextMode="MultiLine" Width="400px"></asp:TextBox>&nbsp;
 
                        <asp:Label ID="lblStatus" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
            <asp:Timer ID="Timer1" runat="server" Interval="4000" OnTick="Timer1_Tick">
            </asp:Timer>
        </ContentTemplate>
    </asp:UpdatePanel>


Finally Use the following Code Snippet in the Code Behind:


protected void Page_Load(object sender, EventArgs e)
        {
 
        }
        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            try
            {
                lblStatus.Text = "";
                sendSubmit();
            }
            catch (Exception err)
            {
                lblStatus.Text = err.Message;
            }
        }
 
        protected void Timer1_Tick(object sender, EventArgs e)
        {
            if(txtHost.Text != "")
                sendSubmit();
        }
 
        public void sendSubmit()
        {
            Ping ping = new Ping();
            PingReply pingreply = ping.Send(txtHost.Text);
            txtPing.Text += "\r\nAddress: " + pingreply.Address + "\r\n";
            txtPing.Text += "Roundtrip Time: " + pingreply.RoundtripTime + "\r\n";
            txtPing.Text += "TTL (Time To Live): " + pingreply.Options.Ttl + "\r\n";
            txtPing.Text += "Buffer Size: " + pingreply.Buffer.Length.ToString() + "\r\n";
        }


What This Code will do for you is that It will ping the entered website in the text-box every 4 second and display the ping result in the textbox.

Check Browser Name Along-with Version C#.Net


Check Browser Name Along-with Version C#.Net


We can get the details of the Browser in which the web-application is running and using this information we can prevent running certain script or code if the browser is in-compatible..

Code-Snippet:



protected void Page_Load(object sender, EventArgs e)
        {
            System.Web.HttpBrowserCapabilities browser = Request.Browser;
            string s = "Browser Capabilities &lt;br/&gt;"
                + "Type = " + browser.Type + "&lt;br/&gt;"
                + "Name = " + browser.Browser + "&lt;br/&gt;"
                + "Version = " + browser.Version + "&lt;br/&gt;"
                + "Major Version = " + browser.MajorVersion + "&lt;br/&gt;"
                + "Minor Version = " + browser.MinorVersion + "&lt;br/&gt;"
                + "Platform = " + browser.Platform + "&lt;br/&gt;"
                + "Is Beta = " + browser.Beta + "&lt;br/&gt;"
                + "Is Crawler = " + browser.Crawler + "&lt;br/&gt;"
                + "Is AOL = " + browser.AOL + "&lt;br/&gt;"
                + "Is Win16 = " + browser.Win16 + "&lt;br/&gt;"
                + "Is Win32 = " + browser.Win32 + "&lt;br/&gt;"
                + "Supports Frames = " + browser.Frames + "&lt;br/&gt;"
                + "Supports Tables = " + browser.Tables + "&lt;br/&gt;"
                + "Supports Cookies = " + browser.Cookies + "&lt;br/&gt;"
                + "Supports VBScript = " + browser.VBScript + "&lt;br/&gt;"
                + "Supports JavaScript = " +
                    browser.EcmaScriptVersion.ToString() + "&lt;br/&gt;"
                + "Supports Java Applets = " + browser.JavaApplets + "&lt;br/&gt;"
                + "Supports ActiveX Controls = " + browser.ActiveXControls
                      + "&lt;br/&gt;"
                + "Supports JavaScript Version = " +
                    browser["JavaScriptVersion"]  + "&lt;br/&gt;&lt;br/&gt;";
 
             
 
            Response.Write(s);
 
            switch (browser.Browser.ToUpper().Trim())
            {
                // WHY No OPERA BROWSER,because opera and chrome user agent is same, 
                // the browser.Browser will return Chrome value in Opera
                case "CHROME": Response.Write("<b>application support your browser</b>"); break;
                case "INTERNETEXPLORER": Response.Write("<b>application does not support your browser</b>"); break;
                case "FIREFOX": Response.Write("<b>application support your browser</b>"); break;
                case "SAFARI": Response.Write("<b>application support your browser</b>"); break;
                default: break;
            }
        } 

Sunday, 31 May 2015

Get Client's IP Address in ASP.Net Web Application using C#.Net


Get Client's IP Address in ASP.Net Web Application using C#.Net


A few days ago, I got this bizarre requirement of fetching the IP Address of the Client's PC which was running my Web Application. Though All the PCs were in local Intranet, but It was really challenging and I was feeling it to be a kind of hack.. I finally solved the issue and would like the share the same piece of code snippet.

Code for .NET 4 and Above:



      /// <summary>
        /// method to get Client ip address
        /// </summary>
        /// <param name="GetLan"> set to true if want to get local(LAN) Connected ip address</param>
        /// <returns></returns>
        public static string GetVisitorIPAddress(bool GetLan = false)
        {
            string visitorIPAddress = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
 
            if (String.IsNullOrEmpty(visitorIPAddress))
                visitorIPAddress = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
 
            if (string.IsNullOrEmpty(visitorIPAddress))
                visitorIPAddress = HttpContext.Current.Request.UserHostAddress;
 
            if (string.IsNullOrEmpty(visitorIPAddress) || visitorIPAddress.Trim() == "::1")
            {
                GetLan = true;
                visitorIPAddress = string.Empty;
            }
 
            if (GetLan)
            {
                if (string.IsNullOrEmpty(visitorIPAddress))
                {
                    //This is for Local(LAN) Connected ID Address
                    string stringHostName = Dns.GetHostName();
                    //Get Ip Host Entry
                    IPHostEntry ipHostEntries = Dns.GetHostEntry(stringHostName);
                    //Get Ip Address From The Ip Host Entry Address List
                    IPAddress[] arrIpAddress = ipHostEntries.AddressList;
 
                    try
                    {
                        visitorIPAddress = arrIpAddress[arrIpAddress.Length - 2].ToString();
                    }
                    catch
                    {
                        try
                        {
                            visitorIPAddress = arrIpAddress[0].ToString();
                        }
                        catch
                        {
                            try
                            {
                                arrIpAddress = Dns.GetHostAddresses(stringHostName);
                                visitorIPAddress = arrIpAddress[0].ToString();
                            }
                            catch
                            {
                                visitorIPAddress = "127.0.0.1";
                            }
                        }
                    }
                }
            }
            return visitorIPAddress;
        }

Code for .NET 3.5 and Below:



 /// <summary>
        /// method to get Client ip address
        /// </summary>
        /// <param name="GetLan"> set to true if want to get local(LAN) Connected ip address</param>
        /// <returns></returns>
        public static string GetVisitorIPAddress(bool GetLan)
        {
            string visitorIPAddress = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
 
            if (String.IsNullOrEmpty(visitorIPAddress))
                visitorIPAddress = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
 
            if (string.IsNullOrEmpty(visitorIPAddress))
                visitorIPAddress = HttpContext.Current.Request.UserHostAddress;
 
            if (string.IsNullOrEmpty(visitorIPAddress) || visitorIPAddress.Trim() == "::1")
            {
                GetLan = true;
                visitorIPAddress = string.Empty;
            }
 
            if (GetLan)
            {
                if (string.IsNullOrEmpty(visitorIPAddress))
                {
                    //This is for Local(LAN) Connected ID Address
                    string stringHostName = Dns.GetHostName();
                    //Get Ip Host Entry
                    IPHostEntry ipHostEntries = Dns.GetHostEntry(stringHostName);
                    //Get Ip Address From The Ip Host Entry Address List
                    IPAddress[] arrIpAddress = ipHostEntries.AddressList;
 
                    try
                    {
                        visitorIPAddress = arrIpAddress[arrIpAddress.Length - 2].ToString();
                    }
                    catch
                    {
                        try
                        {
                            visitorIPAddress = arrIpAddress[0].ToString();
                        }
                        catch
                        {
                            try
                            {
                                arrIpAddress = Dns.GetHostAddresses(stringHostName);
                                visitorIPAddress = arrIpAddress[0].ToString();
                            }
                            catch
                            {
                                visitorIPAddress = "127.0.0.1";
                            }
                        }
                    }
                }
            }
            return visitorIPAddress;
        }

Wednesday, 18 February 2015

Windows + R - Command Line Shortcuts


Windows + R - Command Line Shortcuts


  • CONTROL: opens the control panel window
  • CONTROL ADMINTOOLS: opens the administrative tools
  • CONTROL KEYBOARD: opens keyboard properties
  • CONTROL COLOUR: opens display properties.Appearance tab
  • CONTROL FOLDERS: opens folder options
  • CONTROL FONTS: opens font policy management
  • CONTROL INTERNATIONAL or INTL.CPL: opens Regional and Language option
  • CONTROL MOUSE or MAIN.CPL: opens mouse properties
  • CONTROL USERPASSWORDS: opens User Accounts editor
  • CONTROL USERPASSWORDS2 or NETPLWIZ: User account access restrictions
  • CONTROL PRINTERS: opens faxes and printers available
  • APPWIZ.CPL: opens Add or Remove programs utility tool
  • OPTIONALFEATURES: opens Add or Remove Windows component utility
  • DESK.CPL: opens display properties. Themes tab
  • HDWWIZ.CPL: opens add hardware wizard
  • IRPROPS.CPL: infrared utility tool
  • JOY.CP: opens game controllers settings
  • MMSYS.CPL: opens Sound and Audio device Properties. Volume tab
  • SYSDM.CPL: opens System properties
  • TELEPHON.CPL: Opens phone and Modem options
  • TIMEDATE.CPL: Date and Time properties
  • WSCUI.CPL: opens Windows Security Center
  • ACCESS.CPL: opens Accessibility Options
  • WUAUCPL.CPL: opens Automatic Updates
  • POWERCFG.CPL: opens Power Options Properties
  • AZMAN.MSC: opens authorisation management utility tool
  • CERTMGR.MSC: opens certificate management tool
  • COMPMGMT.MSC: opens the Computer management tool
  • COMEXP.MSC or DCOMCNFG: opens the Computer Services management tool
  • DEVMGMT.MSC: opens Device Manager
  • EVENTVWR or EVENTVWR.MSC: opens Event Viewer
  • FSMGMT.MSC: opens Shared Folders
  • NAPCLCFG.MSC: NAP Client configuration utility tool
  • SERVICES.MSC: opens Service manager
  • TASKSCHD.MSC or CONTROL SCHEDTASKS: opens Schedule Tasks manager
  • GPEDIT.MSC: opens Group Policy utility tool
  • LUSRMGR.MSC: opens Local Users and Groups
  • SECPOL.MSC: opens local security settings
  • CIADV.MSC: opens indexing service
  • NTMSMGR.MSC: removable storage manager
  • NTMSOPRQ.MSC: removable storage operator requests
  • WMIMGMT.MSC: opens (WMI) Window Management Instrumentation
  • PERFMON or PERFMON.MSC: opens the Performance monitor
  • MMC /a: opens empty Console in admin mode 
  • MDSCHED: opens memory diagnostics tools
  • DXDIAG: opens DirectX diagnostics tools
  • ODBCAD32: opens ODBC Data source Administrator
  • REGEDIT or REGEDT32: opens Registry Editor
  • DRWTSN32: opens Dr. Watson
  • VERIFIER: opens Driver Verifier Manager
  • CLICONFG: opens SQL Server Client Network Utility
  • UTILMAN: opens Utility Manager
  • COLORCPL: opens color management
  • CREDWIZ: back up and recovery tool for user passwords
  • MOBSYNC: opens Synchronization center
  • MSCONFIG: opens System Configuration Utility
  • SYSEDIT: opens System Configuration Editor (careful while using this command)
  • SYSKEY: Windows Account Database Security management (careful while using this command)

Windows utility and applications

  • EPLORER: Opens windows Explorer
  • IEXPLORER: Opens Internet explorer
  • WAB: opens Contacts
  • CHARMAP: opens Character Map
  • WRITE: opens WordPad
  • NOTEPAD: opens Notepad
  • CALC: opens Calculator
  • CLIPBRD: opens Clipbook Viewer
  • WINCHAT: opens Microsoft Chat Interface
  • SOUNDRECORDER: opens sound recording tool
  • DVDPLAY: run CD or DVD
  • WMPLAYER: opens Windows Media Player
  • MOVIEMK: Opens untitled Windows Movie Maker
  • OSK: opens on-screen Keyboard
  • MAGNIFY: opens Magnifier
  • WINCAL: opens Calendar
  • DIALER: opens phone Dialer
  • EUDCEDIT: opens Private Character Editor
  • NDVOL: opens the mixer volume
  • RSTRUI : opens Tool System Restore (For Vista only)
  • %WINDIR%\SYSTEM32\RESTORE\rstrui.exe: opens Tool System Restore (for XP only).
  • MSINFO32: Opens the System Information
  • MRT : launches the utility removal of malware.
  • Taskmgr : Opens the Windows Task Manager
  • CMD: opens a command prompt
  • MIGWIZ: Opens the tool for transferring files and settings from Windows (Vista only)
  • Migwiz.exe: Opens the tool for transferring files and settings from Windows (for XP only)
  • SIDEBAR: Open the Windows (Vista only)
  • Sigverif : Opens the tool for verification of signatures of files
  • Winver : Opens the window for your Windows version
  • FSQUIRT: Bluetooth Transfer Wizard
  • IExpress opens the wizard for creating self-extracting archives. Tutorial HERE
  • MBLCTR: opens the mobility center (Windows Vista only)
  • MSRA : Opens the Windows Remote Assistance
  • Mstsc : opens the tool connection Remote Desktop
  • MSDT: opens the diagnostic tools and support Microsoft
  • WERCON: opens the reporting tool and solutions to problems (for Vista only)
  • WINDOWSANYTIMEUPGRADE: Enables the upgrade of Windows Vista
  • WINWORD : opens Word (if installed)
  • PRINTBRMUI : Opens migration wizard printer (Vista only)

Disk management

  • DISKMGMT.MSC: opens disk management utility
  • CLEANMGR: opens disk drive clean up utility
  • DFRG.MSC: opens disk defragmenter
  • CHKDSK: complete analysis of disk partition
  • DISKPART: disk partitioning tool

Connection management

  • IPCONFIG: list the configuration of IP addresses on your PC (for more information type IPCONFIG/? in the CMD menu)
  • INETCPL.CPL: opens internet properties
  • FIREWALL.CPL: opens windows firewall
  • NETSETUP.CPL: opens network setup wizard

Miscellaneous commands

  • JAVAWS: View the cover of JAVA software (if installed)
  • AC3FILTER.CPL: Opens the properties AC3 Filter (if installed)
  • FIREFOX: Mozilla launches Firefox (if installed)
  • NETPROJ: allow or not connecting to a network projector (For Vista only)
  • LOGOFF: closes the current session
  • SHUTDOWN: shut down Windows
  • SHUTDOWN-A: to interrupt Windows shutdown
  • %WINDIR% or %SYSTEMROOT%: opens the Windows installation
  • %PROGRAMFILES%: Opens the folder where you installed other programs (Program Files)
  • %USERPROFILE%: opens the profile of the user currently logged
  • %HOMEDRIVE%: opens the browser on the partition or the operating system is installed
  • %HOMEPATH%: opens the currently logged user C: \ Documents and Settings \ [username]
  • %TEMP%: opens the temporary folder
  • VSP1CLN: deletes the cache for installation of the service pack 1 for Vista
  • System File Checker (Requires Windows CD if the cache is not available):
  • SFC / scannow: immediately scans all system files and repairs damaged files
  • SFC / VERIFYONLY: scans only those files system
  • SFC / Scanfil = "name and file path": scans the specified file, and repaired if damaged
  • SFC / VERIFYFILE = "name and file path": Scans only the file specified
  • SFC / scanonce: scans the system files on the next restart
  • SFC / REVERT: return the initial configuration (For more information, type SFC /? In the command prompt CMD.
back to top