Mapping 'pwd' command to 'cd':
Create a pwd.bat file on C:\Windows\System32 directory that have cd inside:
Create a pwd.bat file on C:\Windows\System32 directory that have cd inside:
Contents of pwd.bat file :
- @echo off
- echo %cd%
This should create a pwd.bat at system32 directory. Now running pwd command should print current directory.
No comments:
Post a Comment