Thursday, July 10, 2014
show list of passwords stored in your windows - rundll32.exe keymgr.dll, KRShowKeyMgr
rundll32.exe keymgr.dll, KRShowKeyMgr
Tuesday, June 17, 2014
mklink
MKLINK [[/D] | [/H] | [/J]] Link Target
/D Creates a directory symbolic link. Default is a file symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction. (can survive remote location)
Link specifies the new symbolic link name.
Target specifies the path (relative or absolute) that the new link refers to.
in non-administrative cmd, make a new link folder (at other drive/folder) that links to C:\myFolder
mklink /J "myFolder" "C:\myFolder"
"junctions are processed at the server and directory symbolic links are processed at the client"
symbolic link:
\\Alice\c$\myjp -> \\Alice\c$\targetfolder
Junction (survive remote access):
\\Alice\c$\mysymlink -> \\Bob\c$\targetfolder
/D Creates a directory symbolic link. Default is a file symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction. (can survive remote location)
Link specifies the new symbolic link name.
Target specifies the path (relative or absolute) that the new link refers to.
in non-administrative cmd, make a new link folder (at other drive/folder) that links to C:\myFolder
mklink /J "myFolder" "C:\myFolder"
"junctions are processed at the server and directory symbolic links are processed at the client"
symbolic link:
\\Alice\c$\myjp -> \\Alice\c$\targetfolder
Junction (survive remote access):
\\Alice\c$\mysymlink -> \\Bob\c$\targetfolder
JD SimWheel use your droid as steering wheel in pc games
https://play.google.com/store/apps/details?id=jd.simwheel
It uses vjoystick as virtual device in windows, then an app in android to connect to pc & play the game!
It uses vjoystick as virtual device in windows, then an app in android to connect to pc & play the game!
Tuesday, September 17, 2013
to fix windows 7 's Pinned item errors on Start Menu
In cmd:
find /C "yourItemsName" %appdata%\microsoft\windows\recent\automaticdestinations\*
or in windows explorer, just delete those file size more than 1MB:
%APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations
source:
www.howtogeek.com/howto/5245/fix-for-when-pinned-jump-list-items-get-stuck-in-windows-7/
find /C "yourItemsName" %appdata%\microsoft\windows\recent\automaticdestinations\*
or in windows explorer, just delete those file size more than 1MB:
%APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations
source:
www.howtogeek.com/howto/5245/fix-for-when-pinned-jump-list-items-get-stuck-in-windows-7/
Monday, May 20, 2013
enable FTP on IIS (Windows 7 Home Premium )
-Click Start -> Control Panel -> Programs. Then click on "Turn Windows features On or Off"
-Enable "Internet Information Services" and "FTP Server" (click + sign and ensure FTP Service is enabled)
-Click Start -> Administrative Tools -> Internet Information Services (IIS) Manager
-Right click your computer's name on the Left most -> Add FTP Site -> Specify a site name, physical path -> you might click No SSL to simplify things.
-at cmd prompt: ftp localhost
-Enable "Internet Information Services" and "FTP Server" (click + sign and ensure FTP Service is enabled)
-Click Start -> Administrative Tools -> Internet Information Services (IIS) Manager
-Right click your computer's name on the Left most -> Add FTP Site -> Specify a site name, physical path -> you might click No SSL to simplify things.
-at cmd prompt: ftp localhost
Monday, March 18, 2013
to show network interface in cmd
in elevated cmd window type this:
netsh wlan show interfaces
netsh wlan show driver
netsh wlan show interfaces
netsh wlan show driver
Wednesday, November 21, 2012
command line to connect wifi in Linux
=============== WPA only ============
step 1:
ifconfig wlan0 up
wpa_passphrase yournetworkessid passphrase > /opt/wpa_configure.conf
step 2, vi to edit more info into it: (vi quick guide: start "vi filename" then press "i" for insert mode, after edit press ESC for cmd mode, type :w to write, :q to quit)
ssid=yournetworkessid
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk=f242925f83787084d58101d5eb52485989e2a553983bfe6fc5b8d27fdfa063bd
step 3, connect:
wpa_supplicant -iwlan0 -c/opt/wpa_configure.conf &
step 3, dhcp to get IP:
udhcpc -i wlan0
=============== WEP only =============
Tools to use:
ifconfig: Enable your wireless device.
iwlist: List the available wireless access points.
iwconfig: Configure your wireless connection.
dhclient: Get your IP address via dhcp.
Step 1: enable your wifi device (ifconfig wlan0 down)
ifconfig wlan0 up
Step 2: scan wifi network
iwlist wlan0 scan
Step 3: connect to the wifi (WEP only) network
iwconfig wlan0 essid NETWORK_ID key s:WIRELESS_PASSWORD
Step 4: dhcp to get IP address
udhcpc -i wlan0
OR dhclient wlan0
manual IP, gateway:
ifconfig wlan0 192.168.1.9 netmask 255.255.255.0 up
route add default gw 192.168.1.1
============== to change mac address ========
ifconfig eth0 down hw ether 00:00:00:00:00:01
ifconfig eth0 up
Subscribe to:
Posts (Atom)