Sunday, August 23, 2015

Create alias in windows

1. Create "aliases.bat" file with below aliases and save it in the dektop

@echo off
cls
Set Sleep=0

doskey mc1=C:\wl\wl_vista_7.exe reassoc C4:14:3C:F3:10:FA
doskey ma1=C:\wl\wl_vista_7.exe reassoc F8:C2:88:83:EC:FA
doskey ma2=C:\wl\wl_vista_7.exe reassoc C4:14:3C:29:2F:4A
doskey mc2=C:\wl\wl_vista_7.exe reassoc 08:1F:F3:E0:2D:9A
doskey ma3=C:\wl\wl_vista_7.exe reassoc 08:CC:68:B4:06:1A
doskey ma32=C:\wl\wl_vista_7.exe reassoc A8:0C:0D:DB:C3:B0
doskey nmc12=C:\wl\wl_vista_7.exe reassoc c800.8460.6eb0
doskey nma1=C:\wl\wl_vista_7.exe reassoc c800.8460.7a70

2. Open "Cmd" and Execute below command:

C:\wl>C:\Users\test\Desktop\aliases.bat

3. Type any of the aliases created in step 1 like mc1, ma1, etc ..

Useful reference: http://superuser.com/questions/49170/create-an-alias-in-windows-xp






No comments:

Post a Comment