Posts Tagged ‘exe’
Thursday, June 12th, 2014 If you're a Linux geek and forced to work on Windows for some reason. You will probably want to add some Linux & Feel to Windows console. Yesterday in a discussion with a colleague who is considered to be our team's Windows Guru, I noticed his Windows 7 command line looks slightly different and asked him, "is it some cmd.exe customization?" and this is how I learned about existence of ConEmu and Clink.
ConEmu is advanced console window where you can run any shell of your choice.
ConEmu (Console Emulator) + Clink combination is very much like MobaXterm (tabbed SSH client and win cmd line) in many sense except it doesn't have an embbed ssh support client. By using Conemu + Clink (Powerful bash style line editing) wrappers to cmd.exe you get the invaluable Linux / UNIX tab completion, command line shortcuts like CTRL + R, CTRL + A, CTRL + P etc. into Windows OS. ConEmu is very useful in Windows environments when you have to heavily use Windows PowerShell
If you're get used to Linux's Midnight Commander (MC) and you're looking for MC for Windows you will certainly want to check out Far Manager (File and Archive Manager). Far Manager provides simple and intuitive ncurses (mc) like interface on Windows and supports view, edit, copy rename and a lot of other basic operations supported also by mc.
Clink combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, which provides rich completion, history, and line-editing capabilities. Readline is well-known and used in Unix shell Bash, the standard shell for Mac OS X and most of Linux distributions.
In my view coolest Clink command shortcut is reverse-search allowing you to auto-type by letters commands (from command line history), lets say you want to invoke dir – you press CTRL + r and type D and all occurances earlier typed starting with "d", pops up as possible choice.
Everyone who had to administer Windows servers know how annoying is that by default cmd.exe doesn't support window resize.
Using ConEmu solves that as it supports resize of command prompt Window (horizontal and vertical resize).
ConEmu has a status bar, support (configuration colors) and even transperancy but most importantly for old school dos geeks is that it supports integration with dosbox run old DOS applications (games) in Windows 7.
To use the tools use gui installers, here is latest mirror copy of Conemu (for download), current latest Far Manager release and latest present release of Clink (download link). Once installed it is a must to spend some time configure ConEmu to match your preferences. To configure it press with right mouse button on top of Cemu window and do the needful 🙂
Once everything is installed, you will have to get into the habit to launch ConEmu instead of cmd.exe (as ConEmu doesn't interfere with cmd.exe). To launch far manager from ConEmu command line simply type:
C:> far
To open new tabs in ConEmu the well known Firefox used CTRL + T will not work, but 'open new tab' key shortcut can be customized and also set to CTRL + T. Default key shortcut for opening new tab in ConEmu is 'Windows Button' + SHIFT + W. While Opening new consoles in ConEmu, there is also the useful option of Splitting console (top and right).
Here is also list with all Clink command shortcuts
C-@ : set-mark
C-a : beginning-of-line
C-b : backward-char
C-c : ctrl-c
C-d : delete-char
C-e : end-of-line
C-f : forward-char
C-g : abort
C-h : backward-delete-char
C-i : clink-completion-shim
C-j : accept-line
C-k : kill-line
C-l : clear-screen
C-m : accept-line
C-n : next-history
C-p : previous-history
C-q : reload-lua-state
C-r : reverse-search-history
C-s : forward-search-history
C-t : transpose-chars
C-u : unix-line-discard
C-v : paste-from-clipboard
C-w : unix-word-rubout
C-y : yank
C-z : undo
C-] : character-search
C-_ : undo
A-C-c : copy-line-to-clipboard
A-C-e : expand-env-vars
A-C-g : abort
A-C-h : backward-kill-word
A-C-i : tab-insert
A-C-j : vi-editing-mode
A-C-m : vi-editing-mode
A-C-r : revert-line
A-C-u : up-directory
A-C-y : yank-nth-arg
A-C-[ : complete
A-C-] : character-search-backward
A- : set-mark
A-# : insert-comment
A-& : tilde-expand
A-* : insert-completions
A– : digit-argument
A-. : yank-last-arg
A-0 : digit-argument
A-1 : digit-argument
A-2 : digit-argument
A-3 : digit-argument
A-4 : digit-argument
A-5 : digit-argument
A-6 : digit-argument
A-7 : digit-argument
A-8 : digit-argument
A-9 : digit-argument
A-< : beginning-of-history
A-= : possible-completions
A-> : end-of-history
A-? : possible-completions
A- : delete-horizontal-space
A-_ : yank-last-arg
A-b : backward-word
A-c : capitalize-word
A-d : kill-word
A-f : forward-word
A-h : show-rl-help
A-l : downcase-word
A-n : non-incremental-forward-search-history
A-p : non-incremental-reverse-search-history
A-r : revert-line
A-t : transpose-words
A-u : upcase-word
A-y : yank-pop
A-~ : tilde-expand
C-x,C-g : abort
C-x,C-r : re-read-init-file
C-x,C-u : undo
C-x,C-x : exchange-point-and-mark
C-x,( : start-kbd-macro
C-x,) : end-kbd-macro
C-x,e : call-last-kbd-macro
Tags: cmd line, command, exe, explorer, Far Manager, file, line, mirror copy, support, tab completion, tabs, Windows, Windows Guru
Posted in Everyday Life, System Administration, Various, Windows | 1 Comment »
Friday, June 27th, 2014
I want to use vim (text editor) on my Windows 7 work computer and hence installed VIM (VI Improved) port for Windows GVim.
VIM works perfect on Windows and for those coming from UNIX background having it installed is a must, however vim doesn't include a PATH location to its (vim) executable in Windows %PATH%.
PATH command line variable stores path locations to all binaries that could be executed directly from cmd line with no need to type full directory path to binary.
To illustrate what PATH is lets say you want to make Putty accessible straight from Windows command line (cmd.exe), you can add Putty's installation Path Folder to global Windows %PATH%. On my 64-bit Windows PC Putty binary is installed in C:Program Files (x86)PuTTY.
echo %PATH%
C:Perl64sitebin;C:Perl64bin;C:Program FilesRA2HP;C:Windowssystem32;C:
Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:
Program FilesWIDCOMMBluetooth Software;C:Program FilesWIDCOMMBluetooth Sof
twaresyswow64;C:Program Files (x86)Hewlett-PackardHP ProtectTools Security M
anagerBin;C:Program FilesActivIdentityActivClient;C:Program Files (x86)A
ctivIdentityActivClient;C:Program Files (x86)QuickTimeQTSystem
To make Putty accessible only by typing Putty instead of typing C:Program Files (x86)PuTTYPutty.exe, it has to be included in PATH, normally from Win command line (cmd.exe). This is done with:
set PATH=%PATH%;C:Program Files (x86)PuTTY
echo %PATH%
C:Usersggeorgi7Desktop>echo %PATH%
C:Perl64sitebin;C:Perl64bin;C:Program FilesRA2HP;C:Windowssystem32;C:
Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:
Program FilesWIDCOMMBluetooth Software;C:Program FilesWIDCOMMBluetooth Sof
twaresyswow64;C:Program Files (x86)Hewlett-PackardHP ProtectTools Security M
anagerBin;C:Program FilesActivIdentityActivClient;C:Program Files (x86)A
ctivIdentityActivClient;C:Program Files (x86)QuickTimeQTSystem;C:Program
Files (x86)PuTTY
To check all the exported variables, use SET command, here is my default SET variables:
C:> SET
ALLUSERSPROFILE=C:ProgramData
APPDATA=C:UsersgeorgiAppDataRoaming
CLASSPATH=.;C:Program Files (x86)Javajre6libextQTJava.zip
CommonProgramFiles=C:Program FilesCommon Files
CommonProgramFiles(x86)=C:Program Files (x86)Common Files
CommonProgramW6432=C:Program FilesCommon Files
COMPUTERNAME=GEORGI
ComSpec=C:Windowssystem32cmd.exe
DEFLOGDIR=C:ProgramDataMcAfeeDesktopProtection
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=Usersggeorgi7
LOCALAPPDATA=C:Usersggeorgi7AppDataLocal
LOGONSERVER=G1W4730
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
…
To make inclusion of VIM, Putty or other binary directory) into PATH variable permanent:
From Windows desktop, right-click My Computer and click Properties.
In the Advanced system settings click on Properties window, click on the Advanced tab.
In the Advanced System section, click the Environment Variables button.
Finally, in the Environment Variables window, search for the Path variable in Systems Variable section and click the Edit button.
Add or modify the path lines including the paths to binaries you wish to be easy access.
Note that each different directory should be separated with a semicolon (;), e.g.
C:Program Files;C:Winnt;C:WinntSystem32; C:Perl64bin
Tags: binaries, command, directory, doesn, Environment Variables, exe, need, Path Folder, Program Files, Putty, say, Set, type, unix, vim, vim text editor, Windows
Posted in Everyday Life, Various, Windows | No Comments »
Wednesday, August 13th, 2014
I had to fix recently another Windows XP infected with plenty of malicious malware. I've used tips from http://malwaretips.com/blogs/ and launch all suggested tools to cleanup the PC. Some few thousands of infections were cleaned and the PC started working much better than earlier, however still there was one weird issue on the Windows XP desktop there was an .exe file hanging with 0 bytes size and whenever I tried to delete the file either from GUI or command line with (del command) it refused to delete with error:
The process cannot access the file because it is being used by another process.
Well the message clearly shows, the file can't be deleted because some program was using it however I couldn't see any program that has locked the .exe file. I've checked that in (Windows Task Manager) run from
Start -> Run:
taskmgr
I've done a quick search online to see, whether someone has fixed the issues, and saw many threads talking about the issue suggesting that the issue got solved Windows XP OS re-install, as this was not an option for me because the PC's reinstall would be at least a 2 day time work, plus it contains some programs which will probably be hard to freshly install, because they're no longed supported.
Finally I've seen in this thread suggestion to try to kill Windows Explorer after you have opened windows with windows cmd.exe because this will prevent the .exe file being locked by Windows Explorer and will allow it to be deleted with del command. This actually worked. I've launched
Start -> Run
taskmgr
and
cmd.exe
Found explorer.exe process and killed it, this makes the whole desktop (icons, start menu etc. disappear) – as Windows Explorer is main managing Windows app. Then using Alt+Tab to switch to Command Prompt window deleted it with:
del Process_that_cannot_be_killed.exe
And finally succesfully deleted it 🙂
Tags: Cannot Delete, Desktop, desktop icons, exe, file, issue, online, Pc, process, threads, windows explorer, Windows Task Manager
Posted in Everyday Life, System Administration, Various, Windows | No Comments »
Tuesday, August 19th, 2014
I'm filling up a TOP (Turn to Production) form for a project where my part as Web and Middleware Engineer included install of Tomcat 7 and Java 1.7 on Windows server 2008 R2 standard. TOP is required Excel sheet standard document used by many large companies to fill in together with Project Manager before the server is to be launched into Production mode.
Therefore I needed to find out previously installed Tomcat and Java version, here is how:
1. Go to Tomcat install directory and (click twice) run twice Tomcat7w
As tomcat is installed in Custom location in D:webdienste in this case I had to run:
D:webdiensteapplication-jsptomcatapplication-namecurrentbinTomcat7w.exe
I run it using command line (cmd.exe), however you can run it via Windows Explorer, if you're lazy typing.
You will get a window pop up like on below screenshot:
In this case Installed Tomcat version was 7.0.55
If you need to check the version on older Tomcat application server install you can run instead Tomcat6w – whether its Tomcat version 6 or Tomcat5w – for Tomcat ver. 5
In order to Check the java version the quickest way is via command line, again run cmd.exe from
Start -> Run -> cmd.exe
Then cd to whenever is Java VM installed the usual location where it gets installed for Java 1.7 on Windows is:
C:Program FilesJavajre7bin
Java 8 common location is:
C:Program FilesJavajre8bin
Java would automatically add PATH to Windows default PATH definitions during install, hence to find out exactly where java is installed on Windows server, type in cmd:
where java
Then to check the exact installed Java version on Win host is by invoking java (jre) cli with -version parameter:
java -version
If you're lazy to type in commands, you can also check Java version in Windows from GUI by using:
Java Control Panel
To launch it in:
Start -> (Search Program and Files)
field type:
Java Conf and click on Java Control Panel
Then click on
General (tab) -> About
Tags: command, exe, How to, Installed Tomcat, line, location, Path, run, type, version, windows explorer
Posted in Everyday Life, System Administration, Various, Web and CMS, Windows | 1 Comment »
Tuesday, October 14th, 2014 Just had a task to install Tomcat 7, Java JRE 1.7 and .NET Framework 3.5 and MS Visual C++ x86 on a Windows 2008 RC2 system situated behind a firewalled network NAT. To do the installation I had to use a special jump host (which was also a MS Windows system). The end system where installation had to occur did not have access to the Internet was in special DMZ-ed network so to install above 3 software packages I had to transfer them from my notebook to install host.
To depic what had to happen, I had to:
Transfer files from (host A – my notebook) -> via host (B – jump host) to host (C – the end install host).
Default Windows RDP Client command (mstsc.exe) supports transferring files between host A and RDP-ed host B via standard file copy / paste, so I tried transferring files between my work Windows PC to (jump host B), by copy pasting the files, but as the DotNetFx35Client.exe file was 261 Megabytes and the network between host A and B has some shapings and network firewalls the file transfer timed out. Copy / Paste method via RDP Protocol by default, doesn’t support Transfer Resume thus in order to transfer the 261 MB file, I tried Sharing C:Temp Folder and transfer that way, but unfortunately I didn’t have the permissions in that Windows Domain to create sharings (even though on the remote system I was already logged in with admin accounts). I’ve consulted a colleague on advise on how to transfer the files and I was told about a Win RDP client option to share drives.
Here is how to share your PC drive letters C: D: E: etc. via Remote Desktop Protocol
1. Run mstsc.exe
2. Click the Options button
3. Click Local Resources tab
4. Click More button
5. Click on Drives
Then after connecting to the Remote RDP host, all your local PC drive partitions C: D: E: will be visible as (attached) ones in mounted in My Computer / MS Explorer with assigned new drive letters
Once, I transferred the .NET Framework 3.5 while using the installer I was notified that .NET Framework 3.5 is by default included in Windows 8 and I need only to enable it.
To enable .NET Framework 3.5 in Windows 8 from Control Panel
Choose Programs, and then choose Turn Windows features on or off.
Select the .NET Framework 3.5 (includes .NET 2.0 and 3.0) check box.
Tags: copy paste, default, end, exe, file transfer, host, How to, jump, NAT, network, Pc, RDP, share
Posted in System Administration, Various, Windows | No Comments »
Tuesday, November 25th, 2014
If you're a system administrator of Windows Servers or or just a PC support in a small company and you have to fix PCs running Microsoft Windows XP / 7 / 8 daily, sooner or later you will be interested into how to optimize your windows maintainance work to be able to do more adminsitration work for less time.
M$ Windows OS has evolved a lot over the past 10+ years and many of the features available GUI are now either possibile to be done via a standard commands and the GUI interfaces. Various adminsitration and common daily work simplification goodies are now accessible through quick access shortcuts and commands.
Virtually all Windows operating system environment could be now customized by using such shortcuts, this reduces the multitude of annoying double clicks which are truely pissing off sysadmins and tech-supports involved in Windows Ticket solving.
Win Shortcuts and Commands helps to:
- Quickly invoke almost all System Settings available from Windows Control Panel
- Access all admins tools GUIs throguh command
- Speed up Opening Video, Pictures, Documents, Downloads folders start Windows Update, Configure Printers / Fax / Add Sharings
etc..
A lot of the commands were new to me thus I decided to try out all of the commands in command prompt (cmd). Many of the tools down-mentioned were news to me and let me understand better on Windows Internals, so if you time try them out.
Function | Comand |
Open Documents Folder | Start menu -> Search (Type documents) |
Open Videos folder | Start -> Search (Type videos) |
Open Downloads Folder | Start -> Search (Type downloads) |
Open Favorites Folder | favorites |
View Recent messages of your PC | Start menu -> Search (Type recent) |
Open Recent Folder | N/A |
Open Pictures Folder | Start menu -> Search (Type pictures) |
Windows Sideshow | control.exe /name Microsoft.WindowsSideshow |
Windows CardSpace (Windows ID Manager) | control.exe /name Microsoft.cardspace |
Windows Anytime Upgrade | Start menu -> Search dialog (Type WindowsUpdate) |
Taskbar and Start Menu | control.exe /name Microsoft.TaskbarandStartMenu |
Troubleshooting | control.exe /name Microsoft.Troubleshooting |
User Accounts (Run user accounts Interface) | control.exe /name Microsoft.UserAccounts |
Adding a new Device | devicepairingwizard |
Add Hardware Wizard | hdwwiz |
Advanced User Accounts Management | netplwiz |
Advanced User Accounts (Authorization Mgr) | azman.msc |
Windows Backup and Restore | sdclt |
Bluetooth File Transfer | fsquirt |
Calculator | calc |
Certificates Manager | certmgr.msc |
Change Computer Performance Settings | systempropertiesperformance (Remove visual effects) |
Change Data Execution Prevention Settings | systempropertiesdataexecutionprevention |
Change Data Execution Prevention Settings | printui |
Character Map | charmap |
ClearType Tuner | cttune (Make text onscreen more readable) |
Color Management | colorcpl |
Command Prompt | cmd |
Component Services | comexp.msc |
Component Services | dcomcnfg |
Computer Management Interface | compmgmt.msc |
Computer Management Interface | compmgmtlauncher |
Connect to Network Project via Network | netproj |
Connect to a Projector | displayswitch (Alias for Fn key + F4) |
Run Control Panel command | control |
Create A Shared Folder Wizard | shrpubw |
Create a System Repair Disc | recdisc |
Credential Backup and Restore Wizard | credwiz |
Data Execution Prevention | systempropertiesdataexecutionprevention |
Date and Time | timedate.cpl |
Default Location | locationnotifications |
Device Manager | devmgmt.msc |
Device Manager | hdwwiz.cpl |
Device Pairing Wizard | devicepairingwizard |
Diagnostics Troubleshooting Wizard | msdt |
Digitizer Calibration Tool | tabcal |
DirectX Diagnostic Tool | dxdiag |
Disk Cleanup | cleanmgr |
Disk Defragmenter | dfrgui |
Disk Management | diskmgmt.msc |
Display (Change font size of text onscreen) | dpiscaling |
Display Color Calibration | dccw |
Display Switch | displayswitch |
DPAPI Key Migration Wizard | dpapimig |
Driver Verifier Manager | verifier |
Ease of Access Center | utilman |
EFS Wizard | rekeywiz |
Event Viewer | eventvwr.msc |
Fax Cover Page Editor | fxscover |
File Signature Verification | sigverif |
Font Viewer | fontview |
Game Controllers | joy.cpl |
Windows Getting Started Iface | gettingstarted |
IExpress Wizard | iexpress |
Another alias for Getting Started | irprops.cpl |
Install or Uninstall Display Languages | lusrmgr |
Internet Explorer | iexplore |
Run Internet Explorer Internet Options | inetcpl.cpl |
iSCSI Initiator Configuration Tool | iscsicpl |
Language Pack Installer | lpksetup |
Local Group Policy Editor | gpedit.msc |
Local Security Policy | secpol.msc |
Local Users and Groups | lusrmgr.msc |
Location Activity | locationnotifications |
Magnifier | magnify |
Malicious Software Removal Tool | mrt (Might be not existent on some Windows versions) |
Manage Your File Encryption Certificates | rekeywiz |
Math Input Panel | mip |
Microsoft Management Console | mmc |
Microsoft Support Diagnostic Tool | msdt |
Mouse | main.cpl |
NAP Client Configuration | napclcfg.msc |
Narrator | narrator |
Network Connections | ncpa.cpl |
New Scan Wizard | wiaacmgr |
Notepad | notepad |
ODBC Data Source Administrator | odbcad32 |
ODBC Driver Configuration | odbcconf |
On-Screen Keyboard | osk |
Paint | mspaint |
Pen and Touch | tabletpc.cpl |
People Near Me | collab.cpl |
Performance Monitor | perfmon.msc |
Performance Options | systempropertiesperformance |
Phone and Modem | telephon.cpl |
Phone Dialer | dialer |
Power Options | powercfg.cpl |
Presentation Settings | presentationsettings |
Print Management | printmanagement.msc |
Printer Migration | printbrmui |
Printer User Interface | printui |
Private Character Editor | eudcedit |
Problem Steps Recorder | psr |
Programs and Features (Install / Uninstall) | appwiz.cpl |
Protected Content Migration | dpapimig |
Region and Language | intl.cpl |
Registry Editor | regedit |
Registry Editor 32 | regedt32 |
Remote Access Phonebook | rasphone |
Remote Desktop Connection | mstsc |
Resource Monitor | resmon |
Resultant Set of Policy | rsop.msc |
SAM Lock Tool | syskey |
Screen Resolution | desk.cpl |
Securing the Windows Account Database | syskey |
Services | services.msc |
Set Program Access and Computer Defaults | computerdefaults |
Share Creation Wizard | shrpubw |
Shared Folders | fsmgmt.msc |
Snipping Tool | snippingtool |
Sound | mmsys.cpl |
Sound recorder | soundrecorder |
SQL Server Client Network Utility | cliconfg |
Sticky Notes | stikynot |
Stored User Names and Passwords | credwiz |
Sync Center | mobsync |
System Configuration | msconfig |
System Configuration Editor | sysedit |
System Information | msinfo32 |
System Properties | sysdm.cpl |
System Properties (Advanced Tab) | systempropertiesadvanced |
System Properties (Computer Name Tab) | systempropertiescomputername |
System Properties (Hardware Tab) | systempropertieshardware |
System Properties (Remote Tab) | systempropertiesremote |
System Properties (System Protection Tab) | systempropertiesprotection |
System Restore | rstrui |
Task Manager | taskmgr |
Task Scheduler | taskschd.msc |
Trusted Platform Module (TPM) Management | tpm.msc |
User Account Control Settings | useraccountcontrolsettings |
Utility Manager | utilman |
Version Reporter Applet | winver |
Volume Mixer | sndvol |
Windows Action Center | wscui.cpl |
Windows Activation Client | slui (Runs on Windows license activation time) |
Windows Anytime Upgrade Results | windowsanytimeupgraderesults |
Windows CardSpace | infocardcpl.cpl |
Windows Disc Image Burning Tool | isoburn (Command line tool to burn images) |
Windows DVD Maker | dvdmaker (N/A on Windows 7, 8) |
Windows Easy Transfer | migwiz (N/A on many Windows versions) |
Run Windows Explorer | explorer |
Windows Fax and Scan | wfs |
Windows Features | optionalfeatures |
Windows Firewall | firewall.cpl |
Windows Firewall with Advanced Security | wf.msc |
Windows Journal | journal (N/A on Windows 7) |
Windows Media Player | wmplayer (N/A on many Windows releases) |
Windows Memory Diagnostic Scheduler | mdsched (Check your PC memory on next boot) |
Windows Mobility Center (Stats) | mblctr |
Windows Picture Acquisition Wizard | wiaacmgr |
Windows PowerShell | powershell |
Windows PowerShell ISE | powershell_ise |
Windows Remote Assistance | msra |
Windows Repair Disc | recdisc |
Windows Script Host | wscript |
Windows Update | wuapp |
Windows Update Standalone Installer | wusa |
Show Windows Version | winver |
WMI Management | wmimgmt.msc |
WordPad | write |
XPS Viewer | xpsrchvw |
Most of above commands works fine with Windows XP, Vista and Windows 7 / 8, Windows 2003 / 2012, however some cmds are missing across some win versions.
Here is list of other useful Windows shortcut keys:
General keyboard shortcuts
- Ctrl+C (Copy)
- Ctrl+X (Delete selected item and save a copy to the clipboard)
- Ctrl+V (Paste)
- Ctrl+Z (Undo)
- Delete (Delete)
- Shift+Delete (Delete the selected item permanently without moving the item to the Recycle Bin)
- Ctrl while dragging an item (Copy the selected item)
- Ctrl+Shift while dragging an item (Create a shortcut to the selected item)
- F2 key (Rename the selected item)
- Ctrl+Right Arrow (Move the cursor to the beginning of the next word)
- Ctrl+Left Arrow (Move the cursor to the beginning of the previous word)
- Ctrl+Down Arrow (Move the cursor to the beginning of the next paragraph)
- Ctrl+Up Arrow (Move the cursor to the beginning of the previous paragraph)
- Ctrl+Shift with any arrow key (Highlight a block of text)
- Shift with any arrow key (Select more than one item in a window or on the desktop, or select text in a document)
- Ctrl+A (Select all)
- F3 key (Search for a file or a folder)
- Alt+Enter (View the properties for the selected item)
- Alt+F4 (Close the active item, or exit the active program)
- Alt+Enter (Display the properties of the selected object)
- Alt+Spacebar (Open the shortcut menu for the active window)
- Ctrl+F4 (Close the active document in programs that enable multiple documents to be open at the same time)
- Alt+Tab (Switch between the open items)
- Alt+Esc (Cycle through items in the order in which they were opened)
- F6 key (Cycle through the screen elements in a window or on the desktop)
- F4 key (Display the Address bar list in My Computer or in Windows Explorer)
- Shift+F10 (Display the shortcut menu for the selected item)
- Alt+Spacebar (Display the System menu for the active window)
- Ctrl+Esc (Display the Start menu)
- Alt+Underlined letter in a menu name (Display the corresponding menu)
- Underlined letter in a command name on an open menu (Perform the corresponding command)
- F10 key (Activate the menu bar in the active program)
- Right Arrow (Open the next menu to the right, or open a submenu)
- Left Arrow (Open the next menu to the left, or close a submenu)
- F5 key (Update the active window)
- Backspace (View the folder one level up in My Computer or Windows Explorer)
- Esc (Cancel the current task)
- Shift when you insert a CD into the CD drive (Prevent the CD from automatically playing)
- Ctrl+Shift+Esc (Open Task Manager)
Dialog box keyboard shortcuts
- Ctrl+Tab (Move forward through the tabs)
- Ctrl+Shift+Tab (Move backward through the tabs)
- Tab (Move forward through the options)
- Shift+Tab (Move backward through the options)
- Alt+Underlined letter (Perform the corresponding command, or select the corresponding option)
- Enter (Perform the command for the active option or button)
- Spacebar (Select or clear the check box if the active option is a check box)
- Arrow keys (Select a button if the active option is a group of option buttons)
- F1 key (Display Help)
- F4 key (Display the items in the active list)
- Backspace (Open a folder one level up if a folder is selected in the Save As or Open dialog box)
Microsoft natural keyboard shortcuts
- Windows Logo (Display or hide the Start menu)
- Windows Logo+Break (Display the System Properties dialog box)
- Windows Logo+D (Display the desktop)
- Windows Logo+M (Minimize all the windows)
- Windows Logo+Shift+M (Restore the minimized windows)
- Windows Logo+E (Open My Computer)
- Windows Logo+F (Search for a file or a folder)
- Ctrl+Windows Logo+F (Search for computers)
- Windows Logo+F1 (Display Windows Help)
- Windows Logo+ L (Lock the keyboard)
- Windows Logo+R (Open the Run dialog box)
- Windows Logo+U (Open Utility Manager)
Accessibility keyboard shortcuts
- Right Shift for eight seconds (Switch FilterKeys on or off)
- Left Alt+left Shift+Print Screen (Switch High Contrast on or off)
- Left Alt+left Shift+Num Lock (Switch the MouseKeys on or off)
- Shift five times (Switch the StickyKeys on or off)
- Num Lock for five seconds (Switch the ToggleKeys on or off)
- Windows Logo +U (Open Utility Manager)
Windows Explorer keyboard shortcuts
- End (Display the bottom of the active window)
- Home (Display the top of the active window)
- Num Lock+Asterisk sign (*) (Display all the subfolders that are under the selected folder)
- Num Lock+Plus sign (+) (Display the contents of the selected folder)
- Num Lock+Minus sign (-) (Collapse the selected folder)
- Left Arrow (Collapse the current selection if it is expanded, or select the parent folder)
- Right Arrow (Display the current selection if it is collapsed, or select the first subfolder)
Keyboard Shortcuts for Character Map
After you double-click a character on the grid of characters, you can move through the grid by using the keyboard shortcuts:
- Right Arrow (Move to the right or to the beginning of the next line)
- Left Arrow (Move to the left or to the end of the previous line)
- Up Arrow (Move up one row)
- Down Arrow (Move down one row)
- Page Up (Move up one screen at a time)
- Page Down (Move down one screen at a time)
- Home (Move to the beginning of the line)
- End (Move to the end of the line)
- Ctrl+Home (Move to the first character)
- Ctrl+End (Move to the last character)
- Spacebar (Switch between Enlarged and Normal mode when a character is selected)
Microsoft Management Console (MMC) main window keyboard shortcuts
- Ctrl+O (Open a saved console)
- Ctrl+N (Open a new console)
- Ctrl+S (Save the open console)
- Ctrl+M (Add or remove a console item)
- Ctrl+W (Open a new window)
- F5 key (Update the content of all console windows)
- Alt+Spacebar (Display the MMC window menu)
- Alt+F4 (Close the console)
- Alt+A (Display the Action menu)
- Alt+V (Display the View menu)
- Alt+F (Display the File menu)
- Alt+O (Display the Favorites menu)
Microsoft Management Console (MMC) window keyboard shortcuts
- Ctrl+P (Print the current page or active pane)
- Alt+Minus sign (-) (Display the window menu for the active console window)
- Shift+F10 (Display the Action shortcut menu for the selected item)
- F1 key (Open the Help topic, if any, for the selected item)
- F5 key (Update the content of all console windows)
- Ctrl+F10 (Maximize the active console window)
- Ctrl+F5 (Restore the active console window)
- Alt+Enter (Display the Properties dialog box, if any, for the selected item)
- F2 key (Rename the selected item)
- Ctrl+F4 (Close the active console window. When a console has only one console window, this shortcut closes the console)
Remote desktop connection navigation
- Ctrl+Alt+End (Open the Microsoft Windows NT Security dialog box)
- Alt+Page Up (Switch between programs from left to right)
- Alt+Page Down (Switch between programs from right to left)
- Alt+Insert (Cycle through the programs in most recently used order)
- Alt+Home (Display the Start menu)
- Ctrl+Alt+Break (Switch the client computer between a window and a full-screen display)
- Alt+Delete (Display the Windows menu)
- Ctrl+Alt+Minus sign (-) (Put a snapshot of the complete client window area on the Terminal server clipboard and provide the same functionality as pressing Alt+Print Screen on a local computer)
- Ctrl+Alt+Plus sign (+) (Put a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing Print Screen on a local computer.)
Microsoft Internet Explorer navigation
- Ctrl+B (Open the Organize Favorites dialog box)
- Ctrl+E (Open the Search bar)
- Ctrl+F (Start the Find utility)
- Ctrl+H (Open the History bar)
- Ctrl+I (Open the Favorites bar)
- Ctrl+L (Open the Open dialog box)
- CtrlL+N (Start another instance of the browser with the same web address)
- Ctrl+O (Open the Open dialog box, the same as CTRL+L)
- Ctrl+P (Open the Print dialog box)
- Ctrl+R (Update the current webpage)
- Ctrl+W (Close the current window)
Complete list of Windows Keyboard Shorcuts is on Microsoft website
Tags: beginning, cmd, command prompt, complete list, control, Ctrl Left Arrow Move, Ctrl Right Arrow Move, Device, exe, firewall, General, joy, list, Microsoft, msconfig, phone, Programs, Securing, Shift Print Screen Switch High Contrast, Start, system administrator, Touch, Windows
Posted in Everyday Life, System Administration, Various, Windows | 1 Comment »
Monday, January 5th, 2015
As Linux admin, I'm already aware of AllTray *NIX application able to send any application to GNOME / KDE tray.
But what If you have a program on Windows XP / 7 / 8, that doesn't have a minimize to tray functionality and you want to send it to tray?
I.e. what if you want to send programs like Notepad (that doesn't by default go to win systray) to Windows tray in order to prevent them mess up with other Open Windows minimized windows?
After a quick research on the topic I found these 3 – RBtray, Trayconizer, HideIt, Below is a very quick review on each
.
1. Minimize any Windows program to tray with RBTray
If you want to stick to open source (GPL) software a tiny free software proggie that does the trick is RBTray current latest RBtray is 4.3 release is download mirror is here.
To use RBTray you don't need to do anything, once program is unarchived from archive, once launched there will be no system application that it is running, but you can go to any minimized program (not in tray) and by clicking with right mouse button on minimize button you will the app minimize to tray.
Here is how RBTray works (taken from archive README file):
Installing:
Extract the 32-bit or 64-bit binaries (depending on your OS) to a
folder, e.g.
C:Program FilesRBTray. Double click RBTray.exe to start it. If you want it
to automatically start after you reboot, create a shortcut to RBTray.exe in
your Start menu's Startup group.
Using:
Right click on any program's minimize button to minimize it to the tray. To
restore, single-click the program's icon in the tray.
Exiting:
Right click on any tray icon created by RBTray and click Exit RBTray in the
popup menu. Or run RBTray.exe with the –exit parameter.
2. Miminize any app to system tray with Trayconizer
Trayconizer is the other tray minizer tool you might want to check out, Windows tray minize application a download mirror of Trayconizer is here. As of time of writing this post (current) latest Trayconizer version is 1.1.1.
Trayconizer allows you to minimize virtually any application to the system tray rather than having it take up valuable space in your taskbar. The screen shot to the left shows Trayconizer minimizing Notepad to the system tray. Trayconizer is definitely the tool of choice of system administrators who need to keep minimized windows program to system tray each time on boot as it can be easily run from command line.
Using Trayconizer is simple. To start Trayconizer on Notepad, you would execute: C:PathToTrayconizer.exe C:WindowsNotepad.exe.
You can create a shortcut in your Startup group to execute Trayconizer on a program that you use frequently but want to keep tucked out of the way in the system tray when you're not using it. There is even an option for starting the application initially in the minimized state.
Trayconizer will automatically shut itself down when you close the program you are Trayconizing. Additionally, multiple Trayconized programs are handled by a single instance of Trayconizer to avoid wasting system resources.
Trayconizer requires no DLL's beyond the base Win32 API libraries and will not store any entries in your registry.
3. Minimize any program to Windows systray with Windows HideIT
Another good tool useful in hiding (minimizing) Windows programs which are lacking the minimize option embedded built-in is Windows HideIT.
Hideit official download website is here, note that with Hideit, Its pretty confusing to find where to download in (so to download look in the right upper corner for a download button) HideIT Download Mirror is here.
Hideit should be able to minimize any Application to sysytem tray, while Rbtray fails ith some. Both RBtray and Windows
HIdeIT will popup with a blue down-arrow on Tray icon once launched and you can show / hide minimized applications from there.
All RbTray, Trayconizer and HideIt tray minimizers should work on virtually all NT 4.0 Windows XP / 2000 / Vista / 7 / 8 though I haven't tested on all of 'em yet. If you happen to find it working on Win NT 4.0 / 8 etc., please drop a comment.
Tags: application, download, exe, Installing, need, right, system tray, time, tool, working
Posted in Everyday Life, Various, Windows | No Comments »
Friday, June 6th, 2014
In Linux there are the which and whereis commands showing you location of binaries included in $PATH
# which lsof /usr/bin/lsof
# whereis lsof
lsof: /usr/bin/lsof /usr/share/man/man8/lsof.8.gz
so question arises what is which / whereis command Linux commands Windows equivalent?
In older Windows Home / Server editions – e.g. – Windows XP, 2000, 2003 – there is no standard installed tool to show you location of windows %PATH% defined executables. However it is possible to add the WHERE command binary by installing Resource Kit tools for administrative tasks.
In Windows Vista / 7 / 8 (and presumably in future Windows releases), WHERE command is (will be) available by default
C:\Users\Georgi>WHERE SQLPLUS
D:\webdienste\application\oracle\11.2.0\client_1\BIN\sqlplus.exe
Cheers! 🙂
Tags: application, com, exe, gz, Linux, location, lsof, oracle, Path, Resource Kit, standard, superuser, usr bin, Windows, Windows Home Server
Posted in Everyday Life, Various, Windows | No Comments »
Saturday, May 4th, 2013
Whether you tried running simultaneously more than 1 Skype clients by clicking twice on Skype Desktop icon or invoking Skype via Windows Start menu; You already have figured out that Skype on Windows is set-up by defaykt to only support one logged in Skype user.
In case you wonder why on earth someone might need to run in parallel few Skype accounts on one Windows PC, possible scenario is;;;
You work for a company and just for clarity you have to communicate with clients from one skype name and with another skype name to communicate to company management.
In Linux in Skype version this is not so and thus for people like me who come from Linux it is rather uneasy to not be able to login in second Skype instance, whether you go to a friend who already keeps logged in with his Skype user …
Thus this triggered me to research a bit if simulatenous user login is possible?
Yes it is possible and very easy, to do so the user has to run manually Skype from command line like so:
On 32bit PC hardware with 32 bit of Microsoft Windows issue in win cmd.exe (command prompt) from:
START -> RUN -> cmd.exe
cd C:\\Program Files\\Skype\Phone\\
C:\\Program Files\\Skype\\Skype /secondary
or to directly paste in command prompt:
“C:\\Program Files\\Skype\\Phone\\Skype.exe” /secondary
If you are on a 64bit machine run in cmd prompt:
“C:\\Program Files (x86)\\Skype\Phone\\Skype.exe” /secondary
To easily run few instances of Skype in parallel, you can make shortcuts on Desktop. pointing to any of both above commands.
That's all now you can login as many skype users as you like on 1 Win PC. All parallel logged in users can receive and write messages. However you should bear in mind that situation with answering Skype calls is a bit complicated as you cannot speak in parallel through different logged in skype users. Anyhow whether you have to react on Skype voice / video calls incoming in similar or same time from 2 skype accounts, you can use – Set Skype Call on Hold functionality and hence keep voice video in parallel with different skype accounts.
Tags: bear in mind, bit, Call, clarity, cmd, command, company management, desktop icon, earth, exe, instances, Linux, login, machine, Microsoft, microsoft windows, pc hardware, run, Run Skype, Shortcuts, Skype, Skype Desktop, support, video, Windows, windows pc, windows xp
Posted in Everyday Life, Various, Windows | 1 Comment »
Friday, January 10th, 2014 If you have to use Windows on system administration level, you had to use command prompt daily, thus its useful to be able to be able to open Command Line starting from desired directory with no need to copy directory Path by hand and CD to it manually.
By default Command Prompt, cmd.exe always opens itself setting a path to user home directory, reading what is defined by win system variable %USERPROFILE% or %HOMEPATH% – MS Windows equivalent of UNIX's $HOME shell variable.
To add open in DOS Prompt Here Command Prompt option to Windows Explorer menus its necessary to apply few rules to Windows registry DB
Use above Download link and launch it and from there on clicking with right Mouse button to any directory will enable you to open directory in CMD.EXE.
Here is content of little registry tweak adding the new menu Dos Prompt Here button
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\DosHere]
@="Dos &Prompt Here"
[HKEY_CLASSES_ROOT\Directory\shell\DosHere\Command]
@="cmd.exe /k cd %1"
[HKEY_CLASSES_ROOT\Drive\shell\DosHere]
@="Dos &Prompt Here"
[HKEY_CLASSES_ROOT\Drive\shell\DosHere\Command]
@="cmd.exe /k cd %1"
This little registry code is originally for Windows 2000, anyways it is compatible with all NT technology based Windowses, Add DOS Prompt Here tweak works fine on Windows XP, Windows 7 and Windows 8 (Home, Pro and Business editions).
By Mentioning $HOME its interesting to say Windows equivalent of Linux's as it might be useful to know:
linux:~# echo $HOME
/home/hipo
is
C:\\> echo %USERPROFILE%
C:\\Users\\georgi
To list all Windows Command Prompt environment variable equivalent to Linux's bash shell env / setenv is SET command), here is example output from my Winblows;
C:\Users\georgi> SET
ALLUSERSPROFILE=C:\\ProgramData
APPDATA=C:\\Users\georgi\AppData\Roaming
CLASSPATH=.;C:\\Program Files (x86)\\Java\\jre6\\lib\\ext\\QTJava.zip
CommonProgramFiles=C:\\Program Files\Common Files
CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files
CommonProgramW6432=C:\\Program Files\\Common Files
COMPUTERNAME=GEORGI
ComSpec=C:\\Windows\\system32\\cmd.exe
DEFLOGDIR=C:\\ProgramData\\McAfee\\DesktopProtection
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\\Users\\georgi
LOCALAPPDATA=C:\\Users\\georgi\\AppData\\Local
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\\Program Files\\RA2HP\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\S
Wbem;C:\\Windows\\System32\\WindowsPowerShell\v1.0\;C:\\Program Files\\WIDCOM
oth Software\\;C:\\Program Files\\WIDCOMM\\Bluetooth Software\\syswow64;C:\\Pr
les (x86)\\Hewlett-Packard\\HP ProtectTools Security Manager\\Bin\\;C:\\Progr
\\ActivIdentity\\ActivClient\\;C:\\Program Files (x86)\\ActivIdentity\\ActivCl
\\Program Files (x86)\\QuickTime\\QTSystem\\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3a09
ProgramData=C:\\ProgramData
ProgramFiles=C:\\Program Files
ProgramFiles(x86)=C:\\Program Files (x86)
ProgramW6432=C:\\Program Files
PROMPT=$P$G
PSModulePath=C:\\Windows\\system32\\WindowsPowerShell\\v1.0\Modules\\
PTSMInstallPath_X86=C:\\Program Files (x86)\\Hewlett-Packard\\HP ProtectToo
ity Manager\\
PUBLIC=C:\\Users\\Public
QTJAVA=C:\\Program Files (x86)\\Java\\jre6\\lib\\ext\\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\\Windows
TEMP=C:\\Users\\georgi\\AppData\\Local\\Temp
TMP=C:\\Users\\georgi\\AppData\\Local\\Temp
USERDNSDOMAIN=EMEA.CPQCORP.NET
USERDOMAIN=EMEA
USERNAME=georgi
USERPROFILE=C:\\Users\\georgi
VSEDEFLOGDIR=C:\\ProgramData\\McAfee\\DesktopProtection
windir=C:\\Windows
windows_tracing_flags=3
windows_tracing_logfile=C:\\BVTBin\\Tests\\installpackage\\csilogfile.log
Hope this little trick hopes someone out there.
I will be glad to hear of other cool useful windows registry tweaks?
Tags: bash shell, cmd, command, command prompt, DB, deal, exe, fine, home, home directory, Java, lib, Linux, list, Set, system, tweaks, Windows, Windows Command Prompt, windows explorer, windows registry, zip
Posted in System Administration, Windows | 1 Comment »