Tag Info

Hot answers tagged


Create a shortcut to your batch file. Get into shortcut property and change target to something like: cmd.exe /C "path-to-your-batch". Simply drag your new shortcut to the taskbar. It should now be pinnable.


Activate the autocd option. It will let you type .. for cd .. and will actually let you use any directory as a command name and will cd to it: shopt -s autocd For the curious, the same exists for zsh: setopt auto_cd


Not by default (There might be some exceptions to this), there isn't. But if you use the alias command you can create a shortcut like this: alias ..="cd .." This will allow you to use the command .. to do cd ...


The W in Ctrl+W was chosen because previous to tabbed browsing being introduced (and currently, if you have tabbed browsing disabled) it's a shortcut to Close the Current Window. Keyboard Shortcuts for Internet Explorer 6: Close the current window - CTRL+W Keyboard Shortcuts for Internet Explorer 8: Close current tab (or the current window if ...


There are 156 run commands at this website. Here is a more complete list including the Windows Environment Commands e.g. %temp% %HomeDrive% etc e.g. %ALLUSERSPROFILE% - Open the All User's Profile %HomeDrive% - Opens your home drive e.g. C:\ %UserProfile% - Opens you User's Profile %temp% Opens - temporary file Folder %systemroot% - Opens Windows folder ...


By default, if you are using the C# default profile, you can delete a line using Ctrl + Shift + L. You can customize this using Tools->Customize. Select "Keyboard". Look for the command Edit.LineDelete to assign it to whichever keyboard shortcut you like.


Save the following as wscript, for instance, hidecmd.vbs after replacing "testing.bat" with your batch file's name. Set oShell = CreateObject ("Wscript.Shell") Dim strArgs strArgs = "cmd /c testing.bat" oShell.Run strArgs, 0, false The reference is here http://msdn.microsoft.com/en-us/library/d5fk67ky.aspx


If you don't want another function to remember and don't mind bashisms: $ mkdir /home/foo/doc/bar && cd $_ The $_ (dollar underscore) bash command variable contains the most recent parameter. So if a user were to type the following at the command line: echo foo bar && echo $_ baz, then the output would be as follows: foo bar bar baz In ...


The most *NIX-y answer is to use SSH's features to your advantage. Create a file named config in ~/.ssh/ (a folder named .ssh in your home folder). Add an entry for each computer you want to connect to, like this: Host compy HostName Port 90 User sidney HostName can be either an IP address or an actual hostname. Then, to ...


I find this useful: up() { local p= i=${1:-1}; while (( i-- )); do p+=../; done; cd "$p$2" && pwd; } For example, up 4 = cd ../../../.. As a bonus, `up 4`/path/to/file works in a similar way to ../../../../path/to/file.


Windows: Switch between worksheets: CtrlPgDn or CtrlPgUp Switch between workbooks: CtrlTab or CtrlShiftTab OS X: Switch between worksheets: FnCtrl↓ or FnCtrl↑ on a small keyboard Ctrl⇞ or Ctrl⇟ on a keyboard with numpad Switch between workbooks: CtrlTab


There is some very useful information on this site: http://ss64.com/nt/shortcut.html Seems like there is some shortcut.exe in some resource kit which I don't have. As many other sites mention, there is no built-in way to do it from a batch file. But you can do it from a VB script: Optional sections in the VBscript below are commented out: Set oWS = ...


(When the application is closed) hold Shift + Right Click > Properties


All Modern UI apps have a URL protocol associated with them which can be used to launch the app. You can find find the protocol for a specific app like this: Press Windows+R Type regedit Navigate to HKEY_CLASSES_ROOT\Extensions\ContractId\Windows.Protocol\PackageId Find the subkey for your app (eg, ...


Linux has two types of links: .desktop files: created by graphical file managers. They are similar to Windows .lnk shortcuts, minus the automatic updating. They, like shortcuts, only work inside the GUI file manager program. Symbolic links: created with ln -s target link on Linux and mklink link target on Windows. These can be used transparently by any ...


Open a CMD prompt and type this in to see a complete list of the environmental variables (eg. %TEMP%) on your system: set You can also use this list to open special locations in Explorer, using the Start Menu search box.


Click on the Start menu and type (or type the same in a command-line window, CMD.EXE): devmgmt.msc Or you can just type Device Manager and it should come up.


This thread nearly answers my problem, another thread worth reading that solves these issues in a different way is here: http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/a44e74a1-20cd-4924-8f2b-3e6b688f1ad7/ I was able to add a batchfile to the taskbar by the following steps: Renaming your .cmd/.bat to to .exe Right clicking on the *.exe ...


Most shells support what is known as "Tab Completion". Just type the unique part of the filename, and then hit your Tab key. The shell should auto-complete the rest of the filename for you. If there are still multiple files which match what you've typed so far, the shell will either cycle through the matching files as you hit Tab, or will print a list of all ...


Save the following into a .reg file, import it into the registry, then log off and back on again. Windows Registry Editor Version 5.00 ;LNK file association fix for Windows Vista. ;Updated on April 24, 2007 [HKEY_CLASSES_ROOT\.lnk] @="lnkfile" [HKEY_CLASSES_ROOT\.lnk\ShellEx] [HKEY_CLASSES_ROOT\.lnk\ShellEx\{000214EE-0000-0000-C000-000000000046}] ...


Open Explorer (Windows Logo + E) then type "Recycle bin" in the address bar. That should work just fine, else add Recycle bin to your favorite locations in Exlorer. Or press the Windows logo and type: explorer.exe ::{645FF040-5081-101B-9F08-00AA002F954E} Which you can of course assign a hot-key to any arbitrary keyboard key or key combination.


As you edited - Any users start menu is located at: C:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ So for your example, it would be: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ And the Global / All users Start Menu is located at: C:\ProgramData\Microsoft\Windows\Start Menu\Programs ...


Get AutoHotKey. Open Notepad and paste the following: ^q::Send !{F4} return Save it as an .ahk file, run it and try it out. If it works, stick it in your startup folder and you are good to go. The above code simply maps Ctrl + Q to Alt + F4. If you want it to be Alt + Q, then replace the ^ with a ! If you can't get AutoHotKey, I've compiled the above ...


I think the important point is that shortcuts are just a file. They have a size (A small one, that just references where they point) and they require an application to support that filetype in order to be used. A symbolic link is filesystem level, and everything sees it as the original file. An application needs no special support to use a symbolic link.


There is not currently a keyboard shortcut to duplicate a tab in Google Chrome (see a list of keyboard shortcuts). However, it looks like Chrome may soon enable support for extensions to duplicate tabs, which means you might soon be able to find a Chrome extension that can duplicate a tab through a keyboard shortcut. Currently, all of the extensions that ...


This is just a simplification of Shaji's answer. You can run your batch script through a VBScript (.vbs) script like this: 'HideBat.vbs CreateObject("Wscript.Shell").Run "your_batch_file.bat", 0, True This will execute your batch file with no command window shown.


You could make a shortcut to IE and pass it the URL like this: "C:\Program Files\Internet Explorer\iexplore.exe" http://www.example.com You could also use the IE View plugin.


I've tried this and it works for me on Windows 8.1: Opening LNK files in Notepad: Just drag and drop them into the Notepad window. If you open them from the Open dialog, Notepad will open the EXE file pointed to by the LNK file. Opening LNK files in HxD hex editor: Open them as you would any file using the Open dialog (File → Open) Opening LNK ...


Opening shortcuts In order to edit a shortcut you obviously need to open it first, and that proves to be tricky. In some cases you can force programs into loading shortcut files by using a command-line argument: "X:\Path\to\program.exe" "X:\my shortcut.lnk" Whether the link target or the actual shortcut file is loaded depends on the program, though. ...


There's a simple registry hack you can do for this, which I've provided a downloadable reg hack file for. It says Vista, but it should work across the board. Remove "Shortcut" Text From New Shortcuts in Vista

Only top voted, non community-wiki answers of a minimum length are eligible