Hot answers tagged shortcuts
4
Links
To create links, you use the ln command. See man ln.
You could do it like ln -s /Applications/MAMP/htdocs/whoat/solr/whoat /where/you/want/link, where:
The first path is what you are linking
The second path is where the link will be
Directory Navigation
man cd
There are two ways to navigate with cd, absolute and relative.
The easiest way to ...
2
Here is defined an alias solr which will cd to the named directory-:
alias solr='cd /Applications/MAMP/htdocs/whoat/solr/whoat'
Note the use of single quotes - double quotes will cause the cd to go to to the home directory.
I sometimes prefer to add a pwd to the alias as a check and reminder of what the current working directory is-:
alias solr='cd ...
1
You can use window scripting such as AutoIt.
As an example, just write this to the AutoIt script editor.Its fairly simple
Run("C:\test\batchfile.bat", "", @SW_HIDE)
If you want to run it in a loop,
$x=0
Do
Run("C:\test\batchfile.bat", "", @SW_HIDE)
Sleep(5000)
Until $x = 1
Compile it as .exe - and you are done.
1
Using DeskLink as an extension in the SendTo, it will send it TO THE DESKTOP. What a waste of a file extension that only does one thing.
A batch file is going to be needed here.
@echo off
:: For my testing purposes, change this to whatever you need
set targetfolder=d:\Temp
shortcut /f:"%targetfolder%\%~n1%~x1.lnk" /a:c /t:%1
Download this shortcut ...
Only top voted, non community-wiki answers of a minimum length are eligible